Merge vers master

This commit is contained in:
2026-06-11 11:09:11 +02:00
87 changed files with 3299 additions and 84 deletions
+3 -3
View File
@@ -5,9 +5,9 @@ namespace PyroFetes.Models;
public class Communication
{
[Key] public int Id { 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; }
[MaxLength(100)] public string? Calling { get; set; }
[MaxLength(100)] public string? Email { get; set; }
[MaxLength(300)] public string? Meeting { get; set; }
[Required] public int ContactId { get; set; }
public Contact? Contact { get; set; }
+14
View File
@@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace PyroFetes.Models;
[PrimaryKey(nameof(ContactId), nameof(CustomerId))]
public class ContactCustomer
{
[Required] public int ContactId { get; set; }
[Required] public int CustomerId { get; set; }
public Contact? Contact { get; set; }
public Customer? Customer { get; set; }
}
+2
View File
@@ -8,5 +8,7 @@ public class HistoryOfApproval
[Required] public DateOnly DeliveryDate { get; set; }
[Required] public DateOnly ExpirationDate { get; set; }
public int StaffId { get; set; }
public List<StaffHistoryOfApproval>? StaffHistoryOfApprovals { get; set; }
}
+1 -1
View File
@@ -13,7 +13,7 @@ public class Staff
[Required] public DateOnly F4T2ExpirationDate { get; set; }
public List<ShowStaff>? ShowStaffs { get; set; }
public List<ExperienceLevel>? ExperienceLevels { get; set; }
public ExperienceLevel ExperienceLevel { get; set; }
public List<StaffAvailability>? StaffAvailabilities { get; set; }
public List<StaffHistoryOfApproval>? StaffHistoryOfApprovals { get; set; }
public List<StaffContact>? StaffContacts { get; set; }