//------------------------------------------------------------------------------
// <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 TblSalesCommissionTransaction
    {
        public System.Guid Oid { get; set; }
        public Nullable<int> Contract { get; set; }
        public Nullable<System.DateTime> TransactionDate { get; set; }
        public Nullable<int> TransactionType { get; set; }
        public Nullable<int> SalesPersonnel { get; set; }
        public Nullable<int> SalesPeriod { get; set; }
        public Nullable<decimal> UpfrontCommissionDue { get; set; }
        public Nullable<decimal> DripCommissionDue { get; set; }
        public Nullable<decimal> EquityCommissionDue { get; set; }
        public Nullable<decimal> HousesitCommissionDue { get; set; }
        public Nullable<decimal> NewLeadCommissionDue { get; set; }
        public Nullable<System.DateTime> SignOffDate { get; set; }
        public Nullable<int> SignedOffBy { get; set; }
        public Nullable<bool> Paid { get; set; }
        public Nullable<int> CommissionPersonType { get; set; }
        public Nullable<System.Guid> SalesCommissionInfo { get; set; }
        public Nullable<System.Guid> SalesCommissionClawback { get; set; }
        public Nullable<System.Guid> SalesCommissionAdditional { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> ResaleContract { get; set; }
        public Nullable<decimal> UpfrontPromotionCommissionDue { get; set; }
        public Nullable<decimal> DripPromotionCommissionDue { get; set; }
        public Nullable<decimal> AdditionalAmountDue { get; set; }
        public Nullable<decimal> ClawbackAmountDue { get; set; }
    
        public virtual TblSalesCommissionAdditional TblSalesCommissionAdditional { get; set; }
        public virtual TblSalesCommissionClawback TblSalesCommissionClawback { get; set; }
        public virtual TblSalesCommissionInfo TblSalesCommissionInfo { get; set; }
        public virtual TblPersonnel TblPersonnel { get; set; }
        public virtual TblPersonnel TblPersonnel1 { get; set; }
    }
}
