//------------------------------------------------------------------------------ // // 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.Legitimate.ApplicationRequest.Models { using System.Web.Script.Serialization; using System; using System.Collections.Generic; public partial class ApplicationRequestDetail { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public ApplicationRequestDetail() { this.Routes = new HashSet(); this.Services = new HashSet(); this.Documents = new HashSet(); this.Ranks = new HashSet(); this.Objections = new HashSet(); this.ApplicationRequestAdjudicationDecisions = new HashSet(); this.ApplicationVehicleDetailsInBulk = new HashSet(); this.ReceiptDetails = new HashSet(); } public long ApplicationRequestDetailID { get; set; } public Nullable WorkflowInstanceID { get; set; } public long CreatedByID { get; set; } public System.DateTime CreatedDate { get; set; } public long UpdatedByID { get; set; } public System.DateTime UpdatedDate { get; set; } public bool IsCancelled { get; set; } public short ApplicationRequestTypeID { get; set; } public short ProvinceID { get; set; } public short SourceApplicationID { get; set; } public Nullable GazetteDetailID { get; set; } public bool IsNewAssociationRequired { get; set; } public bool IsNewMemberRequired { get; set; } public bool IsNewRouteRequired { get; set; } public Nullable AdjudicationDetailID { get; set; } public Nullable PrecheckDetailID { get; set; } public bool IsExceptionRequired { get; set; } public bool IsUpliftmentRequired { get; set; } public Nullable PaymentTypeID { get; set; } public bool IsAdjustmentRequired { get; set; } public string Description { get; set; } public bool IsRenewal { get; set; } public bool IsLateRenewal { get; set; } public bool IsCancellationRequired { get; set; } public Nullable RegionID { get; set; } public Nullable AdjudicationDecisionID { get; set; } public Nullable AdjudicationLicenceDurationMonths { get; set; } public Nullable AdjudicationDecisionDate { get; set; } public Nullable AdjudicationException { get; set; } public Nullable AdjudicationLicenceExpiryDate { get; set; } public bool IsAdjudicationBypassed { get; set; } public Nullable AdjudicationRegionID { get; set; } public bool IsGazettingBypassed { get; set; } public bool IsAssessorApprovalRequired { get; set; } public bool IsSeniorManagerApprovalRequired { get; set; } public bool HasNewRoute { get; set; } public Nullable IsAutoVerificationRequired { get; set; } public Nullable IsLtpsConversion { get; set; } public bool IsBulkVehicleApplication { get; set; } public int VehicleCount { get; set; } public Nullable IsBulkVehicleVerificationRequired { get; set; } public Nullable AdjudicationCount { get; set; } public Nullable IsReceiptRequired { get; set; } public Nullable ForceGazetting { get; set; } public Nullable AdjudicationTypeID { get; set; } public virtual ApplicationApplicantDetail Applicant { get; set; } public virtual ApplicationModeDetail Mode { get; set; } public virtual ApplicationProxyDetail Proxy { 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; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Documents { get; set; } public virtual ApplicationContractDetail Contract { get; set; } public virtual ApplicationRequestType RequestType { get; set; } [ScriptIgnore] public virtual PrecheckDetail PrecheckDetail { get; set; } public virtual ApplicationExistingLicenceHolder ExistingLicenceHolder { get; set; } public virtual ApplicationExistingLicence ExistingLicence { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Ranks { get; set; } public virtual PaymentType PaymentType { get; set; } public virtual Province Province { get; set; } public virtual SourceApplication SourceApplication { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Objections { get; set; } public virtual ApplicationExistingVehicleDetail ExistingVehicle { get; set; } public virtual ApplicationVehicleDetail Vehicle { get; set; } public virtual Region Region { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ApplicationRequestAdjudicationDecisions { get; set; } public virtual GazetteDetail GazetteDetail { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ApplicationVehicleDetailsInBulk { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ReceiptDetails { get; set; } } }