using System; using System.Collections.Generic; namespace MapsDb.Models { public partial class Road { public Road() { Authority = new HashSet(); BusStop = new HashSet(); Contractor = new HashSet(); CrossSection = new HashSet(); FlowIntensity = new HashSet(); RelationToRoad = new HashSet(); RoadPassport = new HashSet(); RoadService = new HashSet(); RoadSurface = new HashSet(); RoadToCategory = new HashSet(); RoadWidth = new HashSet(); ServiceObject = new HashSet(); SettlementAddressLink = new HashSet(); } public int Id { 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 Authority { get; set; } public virtual ICollection BusStop { get; set; } public virtual ICollection Contractor { get; set; } public virtual ICollection CrossSection { get; set; } public virtual ICollection FlowIntensity { get; set; } public virtual ICollection RelationToRoad { get; set; } public virtual ICollection RoadPassport { get; set; } public virtual ICollection RoadService { get; set; } public virtual ICollection RoadSurface { get; set; } public virtual ICollection RoadToCategory { 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; } } }