//------------------------------------------------------------------------------
// <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 TblSCV2CommissionContract
    {
        public TblSCV2CommissionContract()
        {
            this.TblSCV2Transaction = new HashSet<TblSCV2Transaction>();
        }
    
        public System.Guid Oid { get; set; }
        public Nullable<int> Contract { get; set; }
        public Nullable<decimal> CommissionPercentage { get; set; }
        public Nullable<decimal> HousesitCommission { get; set; }
        public Nullable<decimal> HousesitCommissionPaid { get; set; }
        public Nullable<decimal> NewLeadCommission { get; set; }
        public Nullable<decimal> NewLeadCommissionPaid { get; set; }
        public Nullable<decimal> UpfrontCommission { get; set; }
        public Nullable<decimal> DripCommission { get; set; }
        public Nullable<decimal> UpfrontPaid { get; set; }
        public Nullable<decimal> DripPaid { get; set; }
        public Nullable<int> SalesPerson { get; set; }
        public Nullable<int> SalesPersonType { get; set; }
        public Nullable<System.Guid> CommissionWeek { get; set; }
        public Nullable<bool> StopPayout { get; set; }
        public Nullable<bool> IsEquityDeal { get; set; }
        public Nullable<decimal> BCInstalment { get; set; }
        public Nullable<double> Factor { get; set; }
        public Nullable<decimal> UpfrontPercentage { get; set; }
        public Nullable<decimal> DripPercentage { get; set; }
        public Nullable<int> DripStartsOnInstalment { get; set; }
        public Nullable<int> NoOfDrips { get; set; }
        public Nullable<decimal> DSDealPayoutPercentage { get; set; }
        public Nullable<decimal> EquityPayoutPercentage { get; set; }
        public Nullable<decimal> EquityTargetPercentage { get; set; }
        public Nullable<decimal> BusinessFutureValue { get; set; }
        public Nullable<bool> QualifyForBonus { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> ResaleContract { get; set; }
        public Nullable<int> Rotation { get; set; }
        public Nullable<decimal> ReducedAmount { get; set; }
    
        public virtual TblSCV2CommissionWeek TblSCV2CommissionWeek { get; set; }
        public virtual ICollection<TblSCV2Transaction> TblSCV2Transaction { get; set; }
        public virtual TblPersonnel TblPersonnel { get; set; }
    }
}
