//------------------------------------------------------------------------------
//
// 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.LicenceIssueRequest.Models.Database
{
using System.Web.Script.Serialization;
using System;
using System.Collections.Generic;
public partial class Licence
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Licence()
{
this.LicenceIssueDetails = new HashSet();
this.Exceptions = new HashSet();
}
public long LicenceID { get; set; }
public long ApplicationDetailID { get; set; }
public Nullable ApplicationLicenceID { get; set; }
public short LicenceStatusID { get; set; }
public long MemberID { get; set; }
public Nullable VehicleID { get; set; }
public Nullable LicenceVehicleTypeID { get; set; }
public Nullable LicenceCarryingCapacityID { get; set; }
public Nullable DivisionTypeID { get; set; }
public Nullable LicencingBoardID { get; set; }
public Nullable ProvinceID { get; set; }
public string NameOnLicence { get; set; }
public string OperatingLicenceNumber { get; set; }
public int IssueNumber { get; set; }
public string CertificateNumber { get; set; }
public Nullable DateOfIssue { get; set; }
public Nullable DateOfExpiry { get; set; }
public bool Indefinite { get; set; }
public Nullable UpcomingExpiryNotificationSmsSentDate { get; set; }
public Nullable ExpiredNotificationSmsSentDate { get; set; }
public Nullable UpliftmentReminderSmsSentDate { get; set; }
public string OriginalLTPSPermitNumber { get; set; }
public string OriginalOLASNumber { get; set; }
public Nullable IsLatestIssue { get; set; }
public Nullable AccreditationID { get; set; }
public Nullable IsTemporaryLicence { get; set; }
public Nullable DateOfApproval { get; set; }
public Nullable RegionID { get; set; }
public Nullable AssociationID { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
[ScriptIgnore]
public virtual ICollection LicenceIssueDetails { get; set; }
public virtual Member Member { get; set; }
public virtual Vehicle Vehicle { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection Exceptions { get; set; }
}
}