Merge vers master
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user