//------------------------------------------------------------------------------ // // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. // //------------------------------------------------------------------------------ namespace Neo.LegitimateLicences.Data.Models { using System.Web.Script.Serialization; using System; using System.Collections.Generic; public partial class Route { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Route() { this.Associations = new HashSet(); this.LicenceRoutes = new HashSet(); } public long RouteID { get; set; } public short RouteTypeID { get; set; } public string RouteName { get; set; } public string Description { get; set; } public Nullable OriginPlaceID { get; set; } public Nullable DestinationPlaceID { get; set; } public string NationalRouteNumber { get; set; } public string BoardRouteNumber { get; set; } public Nullable RouteLength { get; set; } public short RouteStatusID { get; set; } public string ReferenceNumber { get; set; } public Nullable OlasID { get; set; } public Nullable LtpsID { get; set; } public Nullable NeoID { get; set; } public Nullable ProvinceID { get; set; } public Nullable TimeTableDocumentID { get; set; } public Nullable FareScheduleDocumentID { get; set; } public bool IsChecked { get; set; } public bool IsPotentialIncorrectRouteChange { get; set; } public Nullable IsPotentialIncorrectRouteChangeProbability { get; set; } public int VersionNumber { get; set; } public bool IsLatest { get; set; } public Nullable ParentRouteID { get; set; } public virtual RouteStatus Status { get; set; } public virtual Place Destination { get; set; } public virtual Place Origin { get; set; } public virtual RouteType RouteType { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [ScriptIgnore] public virtual ICollection Associations { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [ScriptIgnore] public virtual ICollection LicenceRoutes { get; set; } } }