using System.ComponentModel.DataAnnotations.Schema; 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; } public Guid FK_RegionId { get; set; } [ForeignKey("FK_RegionId")] public Region Region { get; set; } public Guid? FK_OwnerUserId { get; set; } [ForeignKey("FK_OwnerUserId")] public User? OwnerUser { get; set; } } }