Fixes for the route

This commit is contained in:
2026-09-24 15:50:35 +05:30
parent 41f992b824
commit be38777ebb
7 changed files with 49 additions and 29 deletions
+3 -3
View File
@@ -5,9 +5,9 @@ namespace Distribution.Models
public class Route : Template
{
public String RouteName { get; set; }
public String StartPoint { get; set; }
public String EndPoint { get; set; }
public decimal Length { get; set; } = 0;
public String? StartPoint { get; set; }
public String? EndPoint { get; set; }
public decimal? Length { get; set; }
public Guid FK_RegionId { get; set; }
[ForeignKey("FK_RegionId")]
+4
View File
@@ -20,6 +20,10 @@ namespace Distribution.Models
public DateTime? FulfilledAt { get; set; }
public DateTime? CancelledAt { get; set; }
public Guid? CancelledBy { get; set; }
public string? CancelReason { get; set; }
public ICollection<ShopPOItem> Items { get; set; } = new List<ShopPOItem>();
}
}