using System; using System.Collections.Generic; namespace MapsDb.Models { public partial class Road { public Road() { BusStop = new HashSet(); CrossSection = new HashSet(); FlowIntensity = new HashSet(); RoadPassport = new HashSet(); RoadService = new HashSet(); RoadSurface = new HashSet(); RoadWidth = new HashSet(); ServiceObject = new HashSet(); SettlementAddressLink = new HashSet(); } public int RoadId { get; set; } public string Name { get; set; } public string Value { get; set; } public double? Length { get; set; } public string HistoricalBackground { get; set; } public string EconomicValue { get; set; } public string LawDoc { get; set; } public string AcceptTransferDoc { get; set; } public string AcceptanceDoc { get; set; } public string AuthorityAct { get; set; } public int? RoadTypeId { get; set; } public int Index { get; set; } public virtual ICollection BusStop { get; set; } public virtual ICollection CrossSection { get; set; } public virtual ICollection FlowIntensity { get; set; } public virtual ICollection RoadPassport { get; set; } public virtual ICollection RoadService { get; set; } public virtual ICollection RoadSurface { get; set; } public virtual ICollection RoadWidth { get; set; } public virtual ICollection ServiceObject { get; set; } public virtual ICollection SettlementAddressLink { get; set; } public virtual RoadType RoadType { get; set; } } }