//------------------------------------------------------------------------------
// <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 TblSCV2CommissionStructure
    {
        public TblSCV2CommissionStructure()
        {
            this.TblSCV2RegionalManagerContractTypeOverride = new HashSet<TblSCV2RegionalManagerContractTypeOverride>();
            this.TblSCV2Scales = new HashSet<TblSCV2Scales>();
            this.TblPersonnels = new HashSet<TblPersonnel>();
        }
    
        public System.Guid Oid { get; set; }
        public string Name { get; set; }
        public Nullable<decimal> BonusPercentage { get; set; }
        public Nullable<int> NoOfDealsForBonus { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<decimal> UpfrontPercentage { get; set; }
        public Nullable<decimal> DripPercentage { get; set; }
        public Nullable<int> NoOfDrips { get; set; }
        public Nullable<int> DripStartsOnInstalment { get; set; }
        public Nullable<decimal> DSDealPayoutPercentage { get; set; }
        public Nullable<int> DSDealDripStartOnInstalment { get; set; }
        public Nullable<int> NoOfDSDrips { get; set; }
        public Nullable<bool> IsRegional { get; set; }
        public Nullable<decimal> DSDealPercentage { get; set; }
        public Nullable<decimal> NonLPAPercentage { get; set; }
        public Nullable<int> RegionalSalesManagerType { get; set; }
    
        public virtual ICollection<TblSCV2RegionalManagerContractTypeOverride> TblSCV2RegionalManagerContractTypeOverride { get; set; }
        public virtual ICollection<TblSCV2Scales> TblSCV2Scales { get; set; }
        public virtual ICollection<TblPersonnel> TblPersonnels { get; set; }
    }
}
