//------------------------------------------------------------------------------
// <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 TblRawSalesCommData
    {
        public int OID { get; set; }
        public string Company { get; set; }
        public Nullable<int> SalesConsultant { get; set; }
        public string GroupCode { get; set; }
        public string AccountNumber { get; set; }
        public string CustomerSurname { get; set; }
        public Nullable<short> Units { get; set; }
        public Nullable<double> Price { get; set; }
        public Nullable<System.DateTime> DateCaptured { get; set; }
        public Nullable<System.DateTime> DateWritten { get; set; }
        public string ContractStatus { get; set; }
        public string St1 { get; set; }
        public string St2 { get; set; }
        public string ContractNumber { get; set; }
        public string StdAddendum { get; set; }
        public string CFlag { get; set; }
        public Nullable<System.DateTime> InstalmentDate { get; set; }
        public Nullable<System.DateTime> InterestPayable { get; set; }
        public string Developer { get; set; }
        public Nullable<double> Deposit { get; set; }
        public Nullable<double> Add1 { get; set; }
        public Nullable<double> Add2 { get; set; }
        public Nullable<double> Add3 { get; set; }
        public string UniqueNo { get; set; }
        public Nullable<int> SalesPeriod { get; set; }
        public Nullable<bool> FourPercentComm { get; set; }
        public Nullable<int> SalesManager { get; set; }
        public string AgentName { get; set; }
        public Nullable<short> ContractPeriod { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
    
        public virtual TblPersonnel TblPersonnel { get; set; }
        public virtual TblPersonnel TblPersonnel1 { get; set; }
    }
}
