Add user management domain and seed model

This commit is contained in:
2026-08-18 15:43:33 +05:30
parent 878847302e
commit ea2e5229c8
11 changed files with 267 additions and 2 deletions
+7 -1
View File
@@ -1,4 +1,6 @@
namespace Distribution.Models
using System.ComponentModel.DataAnnotations.Schema;
namespace Distribution.Models
{
public class Route : Template
{
@@ -6,5 +8,9 @@
public String StartPoint { get; set; }
public String EndPoint { get; set; }
public decimal Length { get; set; } = 0;
public Guid FK_RegionId { get; set; }
[ForeignKey("FK_RegionId")]
public Region Region { get; set; }
}
}