//------------------------------------------------------------------------------
// <auto-generated>
//    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.
// </auto-generated>
//------------------------------------------------------------------------------

namespace ERD
{
    using System;
    using System.Collections.Generic;
    
    public partial class TblTFGLead
    {
        public TblTFGLead()
        {
            this.TblLeadFeedbacks = new HashSet<TblLeadFeedback>();
        }
    
        public int OID { get; set; }
        public string Club { get; set; }
        public Nullable<int> Code { get; set; }
        public string ContractNumber { get; set; }
        public string Title { get; set; }
        public string Initials { get; set; }
        public string Surname { get; set; }
        public string HomePhoneNumber { get; set; }
        public string WorkPhoneNumber { get; set; }
        public string CellphoneNumber { get; set; }
        public string IDNumber { get; set; }
        public Nullable<System.DateTime> InitialSellingDate { get; set; }
        public Nullable<int> Points { get; set; }
        public Nullable<int> AddendumCount { get; set; }
        public Nullable<int> AddendumPoints { get; set; }
        public Nullable<int> FinitePoints { get; set; }
        public Nullable<System.DateTime> LatestSellingDate { get; set; }
        public string InitialSaleAgent { get; set; }
        public string LatestSaleAgent { get; set; }
        public string Developer { get; set; }
        public Nullable<System.DateTime> CancelledDate { get; set; }
        public Nullable<decimal> OutstandingBalance { get; set; }
        public Nullable<decimal> CapitalArrears { get; set; }
        public Nullable<System.DateTime> DataDated { get; set; }
        public Nullable<int> OwnedBy { get; set; }
        public Nullable<System.DateTime> DateAllocated { get; set; }
        public Nullable<System.DateTime> LastCalled { get; set; }
        public string LastNumberCalled { get; set; }
        public Nullable<bool> DoNotContact { get; set; }
        public Nullable<System.Guid> AllocatedTo { get; set; }
        public Nullable<System.DateTime> AllocatedDateTime { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public string Adr1 { get; set; }
        public string Adr2 { get; set; }
        public string Adr3 { get; set; }
        public string Adr4 { get; set; }
        public string PostalCode { get; set; }
        public string ContractStatus { get; set; }
        public string BondArrearsPeriod { get; set; }
        public string CertName { get; set; }
        public Nullable<int> AccType { get; set; }
        public string AccHolder { get; set; }
        public string BankName { get; set; }
        public string BranchName { get; set; }
        public string BranchCode { get; set; }
        public string AccNumber { get; set; }
        public string Typeoftransfig { get; set; }
        public Nullable<decimal> ManagementFeesBalance { get; set; }
        public Nullable<System.DateTime> DepartureDate { get; set; }
        public Nullable<System.DateTime> ArrivalDate { get; set; }
        public Nullable<decimal> AssotiationFee { get; set; }
        public string Adr5 { get; set; }
        public string Weekmodule { get; set; }
        public string Configuration { get; set; }
        public string MaxSLP { get; set; }
        public string Season { get; set; }
        public Nullable<decimal> PurchasePrice { get; set; }
        public string Email { get; set; }
        public string AccountNumber { get; set; }
        public string Weektype { get; set; }
        public Nullable<bool> IsCrystal { get; set; }
        public string Unit { get; set; }
        public Nullable<decimal> Levy2014 { get; set; }
        public Nullable<decimal> Levy2015 { get; set; }
        public Nullable<decimal> Levy2016 { get; set; }
        public Nullable<decimal> Levy2017 { get; set; }
        public Nullable<decimal> PriorArrears2013 { get; set; }
        public Nullable<decimal> Arrears2014 { get; set; }
        public Nullable<decimal> Rebate { get; set; }
        public Nullable<bool> CallBack { get; set; }
        public Nullable<System.DateTime> CallBackTime { get; set; }
        public Nullable<System.DateTime> ReleasedDate { get; set; }
        public Nullable<bool> Blocked { get; set; }
        public string OldContractStatus { get; set; }
        public Nullable<System.DateTime> DateTimeUpdated { get; set; }
        public Nullable<bool> IsLease { get; set; }
    
        public virtual Title Title1 { get; set; }
        public virtual ICollection<TblLeadFeedback> TblLeadFeedbacks { get; set; }
        public virtual TblPersonnel TblPersonnel { get; set; }
    }
}
