//------------------------------------------------------------------------------
// <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 TblSCV2SpecialStructure
    {
        public TblSCV2SpecialStructure()
        {
            this.TblSCV2RegionalManagerContractTypeOverride = new HashSet<TblSCV2RegionalManagerContractTypeOverride>();
            this.TblSCV2SpecialScales = new HashSet<TblSCV2SpecialScales>();
        }
    
        public System.Guid Oid { get; set; }
        public Nullable<int> Personnel { get; set; }
        public Nullable<System.Guid> SalesCommissionGroup { get; set; }
        public Nullable<decimal> DLDealCommissionPercentage { get; set; }
        public Nullable<decimal> DLDealPayoutPercentage { get; set; }
        public Nullable<decimal> UpfrontPercentage { get; set; }
        public Nullable<decimal> DripPercentage { get; set; }
        public Nullable<int> DripStartOnInstalment { get; set; }
        public Nullable<int> NumberOfDrips { get; set; }
        public Nullable<int> DSDealDripStartsOnInstalment { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
    
        public virtual TblSalesVenueCommissionGroup TblSalesVenueCommissionGroup { get; set; }
        public virtual ICollection<TblSCV2RegionalManagerContractTypeOverride> TblSCV2RegionalManagerContractTypeOverride { get; set; }
        public virtual ICollection<TblSCV2SpecialScales> TblSCV2SpecialScales { get; set; }
        public virtual TblPersonnel TblPersonnel { get; set; }
    }
}
