Files
2026-09-24 15:50:35 +05:30

21 lines
582 B
C#

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; }
}
}