Lab6_Main_Fix

This commit is contained in:
PIbd-21_Spasskyi_Artem 2023-06-14 23:58:53 +04:00
parent 0d40acec98
commit 945ed4d733

View File

@ -12,11 +12,11 @@ namespace CarpentryWorkshopDatabaseImplement.Models
public class Order : IOrderModel
{
public int Id { get; private set; }
[ForeignKey("WoodId")]
public int WoodId { get; private set; }
[ForeignKey("ImplementerId")]
public int? ImplementerId { get; private set; }
[ForeignKey("ClientId")]
[Required]
public int ClientId { get; set; }