Added SupplierId in DeliveryNote

This commit is contained in:
2026-05-25 16:21:58 +01:00
parent c0ac9f7a65
commit 48b9db6e1c
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -7,10 +7,12 @@ public class DeliveryNote
[Key] public int Id { get; set; } [Key] public int Id { get; set; }
[Required, MaxLength(100)] public string? TrackingNumber { get; set; } [Required, MaxLength(100)] public string? TrackingNumber { get; set; }
public int DelivererId { get; set; } public int DelivererId { get; set; }
public int SupplierId { get; set; }
[Required] public DateOnly EstimateDeliveryDate { get; set; } [Required] public DateOnly EstimateDeliveryDate { get; set; }
[Required] public DateOnly ExpeditionDate { get; set; } [Required] public DateOnly ExpeditionDate { get; set; }
public DateOnly? RealDeliveryDate { get; set; } public DateOnly? RealDeliveryDate { get; set; }
public Deliverer? Deliverer { get; set; } public Deliverer? Deliverer { get; set; }
public Supplier? Supplier { get; set; }
public List<ProductDelivery>? ProductDeliveries { get; set; } public List<ProductDelivery>? ProductDeliveries { get; set; }
} }
+1
View File
@@ -15,5 +15,6 @@ public class Supplier
public List<Price>? Prices { get; set; } public List<Price>? Prices { get; set; }
public List<Quotation>? Quotations { get; set; } public List<Quotation>? Quotations { get; set; }
public List<DeliveryNote>? DeliveryNotes { get; set; }
public List<PurchaseOrder>? PurchaseOrders { get; set; } public List<PurchaseOrder>? PurchaseOrders { get; set; }
} }