Add user management domain and seed model
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user