//------------------------------------------------------------------------------
// <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 TblSalesCommissionInfo
    {
        public TblSalesCommissionInfo()
        {
            this.TblSalesCommissionAdditionals = new HashSet<TblSalesCommissionAdditional>();
            this.TblSalesCommissionClawbacks = new HashSet<TblSalesCommissionClawback>();
            this.TblSalesCommissionTransactions = new HashSet<TblSalesCommissionTransaction>();
            this.TblPromotionCommissions = new HashSet<TblPromotionCommission>();
        }
    
        public System.Guid Oid { get; set; }
        public Nullable<int> Contract { get; set; }
        public Nullable<decimal> CommissionPercentage { get; set; }
        public Nullable<decimal> UpfrontCommission { get; set; }
        public Nullable<decimal> UpfrontCommissionPaid { get; set; }
        public Nullable<decimal> DripCommission { get; set; }
        public Nullable<decimal> DripCommissionPaid { get; set; }
        public Nullable<int> NoOfDrips { get; set; }
        public Nullable<int> DripsStartOnInstalment { get; set; }
        public Nullable<decimal> NewLeadCommission { get; set; }
        public Nullable<decimal> NewLeadCommissionPaid { get; set; }
        public Nullable<decimal> HousesitCommission { get; set; }
        public Nullable<decimal> HousesitCommissionPaid { get; set; }
        public Nullable<decimal> EquityCommission { get; set; }
        public Nullable<decimal> EquityCommissionPaid { get; set; }
        public Nullable<decimal> EquityCommissionPercentage { get; set; }
        public Nullable<int> NoOfEquiyDrips { get; set; }
        public Nullable<int> EquityStartOnInstalment { get; set; }
        public Nullable<decimal> EquityPayoutPercentage { get; set; }
        public Nullable<int> CommissionOwner { get; set; }
        public Nullable<int> CommissionPersonType { get; set; }
        public Nullable<int> CommissionPeriod { get; set; }
        public Nullable<int> RotationCounter { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<bool> Frozen { get; set; }
        public Nullable<decimal> EquityCommissionTargetPercentage { get; set; }
        public Nullable<int> Season { get; set; }
        public Nullable<int> ResaleContract { get; set; }
        public Nullable<decimal> NewBusinessBonusPercentage { get; set; }
    
        public virtual ICollection<TblSalesCommissionAdditional> TblSalesCommissionAdditionals { get; set; }
        public virtual ICollection<TblSalesCommissionClawback> TblSalesCommissionClawbacks { get; set; }
        public virtual ICollection<TblSalesCommissionTransaction> TblSalesCommissionTransactions { get; set; }
        public virtual TblPersonnel TblPersonnel { get; set; }
        public virtual ICollection<TblPromotionCommission> TblPromotionCommissions { get; set; }
    }
}
