//------------------------------------------------------------------------------
//
// 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 ApplicationDetail
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public ApplicationDetail()
{
this.Adjudications = new HashSet();
this.Licences = new HashSet();
this.Objections = new HashSet();
this.Referrals = new HashSet();
this.Receipts = new HashSet();
this.ApplicationTags = new HashSet();
}
public long ApplicationDetailID { get; set; }
public string ApplicationNumber { get; set; }
public Nullable WorkflowInstanceID { get; set; }
public short ApplicationRequestTypeID { get; set; }
public Nullable VerifiedAssociationID { get; set; }
public short SourceApplicationID { get; set; }
public bool IsRenewal { get; set; }
public bool IsLateRenewal { get; set; }
public bool IsReceiptRequired { get; set; }
public bool IsNewRouteRequired { get; set; }
public bool IsExceptionRequired { get; set; }
public bool IsUpliftmentRequired { get; set; }
public bool IsAdjustmentRequired { 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 IsGazettingBypassed { get; set; }
public Nullable GazetteDetailID { get; set; }
public bool IsAdjudicationBypassed { get; set; }
public Nullable AdjudicationCount { 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 IsCancellationRequired { get; set; }
public bool IsCancelled { get; set; }
public int LicenceCount { get; set; }
public Nullable IsBulkVerificationRequired { get; set; }
public bool IsBulkApplication { get; set; }
public bool IsGazettingRequired { get; set; }
public bool IsInspectionRequired { get; set; }
public bool IsAdjudicationRequired { get; set; }
public bool ForceGazetting { get; set; }
public short ApplicationStatusID { get; set; }
public short ApplicationSubStatusID { get; set; }
public Nullable GazetteTypeID { get; set; }
public bool IsReferralRequired { get; set; }
public Nullable AccreditationID { get; set; }
public Nullable AdjudicationDetailID { get; set; }
public short OfficeLocationID { get; set; }
public short OfficeLocationDivisionTypeID { get; set; }
public short ApplicationProvinceID { get; set; }
public Nullable ApplicationRegionID { get; set; }
public Nullable AdjudicationOfficeLocationID { get; set; }
public Nullable IsFinalisationTasksRequired { get; set; }
public Nullable CopiedFromApplicationDetailID { get; set; }
public Nullable CopiedFromApplicationLicenceID { get; set; }
public Nullable ApplicationPrecheckDetailID { get; set; }
public Nullable AmountDue { get; set; }
public Nullable AmountPaid { get; set; }
public bool IsBusAndContract { get; set; }
public Nullable AdjudicationTypeID { get; set; }
public bool ApplicationIsObjected { get; set; }
public bool OnlyExistingRoutesOnLicense { get; set; }
public bool IsAllowedNewLicence { get; set; }
public Nullable ApplicationCannoutBeAutoAssignedForAdjudication { get; set; }
public Nullable RelatedTATApplicationRequestID { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Adjudications { get; set; }
public virtual ApplicationApplicantDetail Applicant { get; set; }
public virtual ApplicationContractDetail Contract { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Licences { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Objections { get; set; }
public virtual ApplicationPreviousLicenceHolder PreviousLicenceHolder { get; set; }
public virtual ApplicationProxyDetail Proxy { get; set; }
public virtual ApplicationNPTRDetail NPTR { get; set; }
public virtual ApplicationInspectionDetail InspectionDetails { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Referrals { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Receipts { get; set; }
public virtual AdjudicationDetail CurrentAdjudication { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection ApplicationTags { get; set; }
public virtual ApplicationRequestType ApplicationRequestType { get; set; }
public virtual ApplicationTATDetail ApplicationTATDetail { get; set; }
}
}