//------------------------------------------------------------------------------
// <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 TblSalesCommissionPercentage
    {
        public TblSalesCommissionPercentage()
        {
            this.TblSalesCommissionSeasons = new HashSet<TblSalesCommissionSeason>();
            this.TblTrainingManagerCommissionSeasonPercentages = new HashSet<TblTrainingManagerCommissionSeasonPercentage>();
            this.TblTrainngManagerCommissionPercentages = new HashSet<TblTrainngManagerCommissionPercentage>();
            this.TblPersonnels = new HashSet<TblPersonnel>();
        }
    
        public System.Guid Oid { get; set; }
        public string Description { get; set; }
        public Nullable<int> CommissionType { get; set; }
        public Nullable<decimal> DSDealPercentage { get; set; }
        public Nullable<int> NoOfDSDealCommissionInstalments { get; set; }
        public Nullable<decimal> FlatRatePercentage { get; set; }
        public Nullable<decimal> NewLeadAmount { get; set; }
        public Nullable<decimal> HousesitAmount { get; set; }
        public Nullable<decimal> UpfrontPercentage { get; set; }
        public Nullable<decimal> DripPercentage { get; set; }
        public Nullable<int> DripStartOnInstalment { get; set; }
        public Nullable<decimal> BonusForNewSalePercentage { get; set; }
        public Nullable<int> NoOfDripInstalments { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
    
        public virtual ICollection<TblSalesCommissionSeason> TblSalesCommissionSeasons { get; set; }
        public virtual ICollection<TblTrainingManagerCommissionSeasonPercentage> TblTrainingManagerCommissionSeasonPercentages { get; set; }
        public virtual ICollection<TblTrainngManagerCommissionPercentage> TblTrainngManagerCommissionPercentages { get; set; }
        public virtual ICollection<TblPersonnel> TblPersonnels { get; set; }
    }
}
