Lab6_Main_Fix
This commit is contained in:
parent
0d40acec98
commit
945ed4d733
@ -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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user