Fixed all relationship and write errors in all entities
This commit is contained in:
@@ -5,8 +5,10 @@ namespace PyroFetes.Models;
|
||||
public class Communication
|
||||
{
|
||||
[Key] public int Id { get; set; }
|
||||
[Required] public string? Calling { get; set; }
|
||||
[Required] public string? Email { get; set; }
|
||||
[Required] public string? Meeting { get; set; }
|
||||
[Required, MaxLength(100)] public string? Calling { get; set; }
|
||||
[Required, MaxLength(100)] public string? Email { get; set; }
|
||||
[Required, MaxLength(300)] public string? Meeting { get; set; }
|
||||
|
||||
[Required] public int ContactId { get; set; }
|
||||
public Contact? Contact { get; set; }
|
||||
}
|
Reference in New Issue
Block a user