17:17 09/10

This commit is contained in:
2025-10-09 17:17:42 +02:00
parent 1734ec0219
commit 91b4aca2fa
76 changed files with 815 additions and 388 deletions

View File

@@ -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; }