//------------------------------------------------------------------------------
//
// 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.Data.Models
{
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.Routes = new HashSet();
this.LicenceIssueDetails = new HashSet();
this.LicenceServiceDetails = new HashSet();
this.LicenceExceptions = new HashSet();
}
public long LicenceID { get; set; }
public long MemberID { get; set; }
public Nullable VehicleID { get; set; }
public string NameOnLicence { get; set; }
public string OperatingLicenceNumber { get; set; }
public int IssueNumber { get; set; }
public string CertificateNumber { get; set; }
public long ApplicationRequestDetailID { get; set; }
public Nullable DateOfIssue { get; set; }
public Nullable DateOfExpiry { get; set; }
public bool Indefinite { get; set; }
public short LicenceStatusID { get; set; }
public short ModeID { 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 ApplicationVehicleDetailsInBulkID { get; set; }
public virtual LicenceStatus Status { get; set; }
public virtual VerifiedMember Member { get; set; }
public virtual Vehicle Vehicle { get; set; }
public virtual Mode Mode { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
[ScriptIgnore]
public virtual ICollection Routes { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection LicenceIssueDetails { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection LicenceServiceDetails { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection LicenceExceptions { get; set; }
}
}