//------------------------------------------------------------------------------ // // 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.ApplicationRequest.Models.Database { using System.Web.Script.Serialization; using System; using System.Collections.Generic; public partial class ApplicationLicence { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public ApplicationLicence() { this.Routes = new HashSet(); this.Services = new HashSet(); this.ApplicationObjections = new HashSet(); this.ApplicationReferrals = new HashSet(); } public long ApplicationLicenceID { get; set; } public long ApplicationDetailID { get; set; } public string OperatingLicenceNumber { get; set; } public Nullable OperatingLicenceIssueDate { get; set; } public Nullable OperatingLicenceExpiryDate { get; set; } public string ReasonForAmendment { get; set; } public string SpecialLicenceDetails { get; set; } public Nullable SpecialLicenceDateFrom { get; set; } public Nullable SpecialLicenceDateTo { get; set; } public string LongDistanceReason { get; set; } public Nullable LicencingBoardID { get; set; } public Nullable VehicleTypeID { get; set; } public Nullable ApplicationFormDocID { get; set; } public Nullable OperatingLicenceDocID { get; set; } public Nullable CurrentVerifiedVehicleID { get; set; } public bool IsAdjudicationFinalised { get; set; } public Nullable ApplicationAdjudicationID { get; set; } public Nullable CurrentVehicleTypeID { get; set; } public Nullable CurrentVerifiedLicenceID { get; set; } public Nullable IsExistingLicence { get; set; } public string ApplicationLicenceDescription { get; set; } public Nullable ApplicationLicenceRequestTypeID { get; set; } public string ApplicationLicenceReferenceNumber { get; set; } public Nullable SplitIntoNewApplication { get; set; } public Nullable NewApplicationDetailID { get; set; } public bool IsCancelled { get; set; } public string LicenseSpecificConditions { get; set; } public Nullable ApplicationAllowedNewLicenceID { get; set; } public Nullable OlasId { get; set; } public string CleanOperatingLicenceNumber { get; set; } [ScriptIgnore] public virtual ApplicationDetail ApplicationDetail { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Routes { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Services { get; set; } public virtual ApplicationLicenceVehicleDetail NewVehicle { get; set; } public virtual Vehicle CurrentVehicle { get; set; } public virtual ApplicationLicencePreviousVehicleDetail PreviousVehicle { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] [ScriptIgnore] public virtual ICollection ApplicationObjections { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ApplicationReferrals { get; set; } } }