forked from sanchezvem/PyroFetes
17:17 09/10
This commit is contained in:
@@ -4,7 +4,6 @@ namespace PyroFetes.Models;
|
||||
|
||||
public class Contact
|
||||
{
|
||||
//Champs
|
||||
[Key] public int Id { get; set; }
|
||||
[Required, MaxLength(100)] public string? LastName { get; set; }
|
||||
[Required, MaxLength(100)] public string? FirstName { get; set; }
|
||||
@@ -15,8 +14,6 @@ public class Contact
|
||||
[Required, MaxLength(100)] public string? City { get; set; }
|
||||
[Required, MaxLength(100)] public string? Role { get; set; }
|
||||
|
||||
|
||||
//Relations
|
||||
public Customer? Customer { get; set; }
|
||||
[Required] public int CustomerId { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user