небольшие нюансы
This commit is contained in:
parent
7c2da1ba42
commit
91a12c6001
@ -28,11 +28,11 @@ namespace BeautySalonDatabaseImplement.Models
|
||||
[Required]
|
||||
public string StaffMemberPhone { get; set; } = string.Empty;
|
||||
|
||||
[ForeignKey("StaffMemberId")]
|
||||
public virtual List<LaborCosts> LaborsCosts { get; set; } = new();
|
||||
//[ForeignKey("StaffMemberId")]
|
||||
//public virtual List<LaborCosts> LaborsCosts { get; set; } = new();
|
||||
|
||||
[ForeignKey("StaffMemberId")]
|
||||
public virtual List<Service> Services { get; set; } = new();
|
||||
//[ForeignKey("StaffMemberId")]
|
||||
//public virtual List<Service> Services { get; set; } = new();
|
||||
|
||||
public static StaffMember? Create(StaffMemberBindingModel model)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user