//------------------------------------------------------------------------------
// <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 TblSMICommissionContract
    {
        public TblSMICommissionContract()
        {
            this.TblSMITransactions = new HashSet<TblSMITransaction>();
        }
    
        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> DripCommission { get; set; }
        public Nullable<decimal> UpfrontPaid { get; set; }
        public Nullable<decimal> DripPaid { get; set; }
        public Nullable<System.Guid> SalesWeek { get; set; }
        public Nullable<int> NoOfDrips { get; set; }
        public Nullable<int> DripStartsOnInstallment { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<bool> StopPayout { get; set; }
    
        public virtual TblSMISalesPersonWeek TblSMISalesPersonWeek { get; set; }
        public virtual ICollection<TblSMITransaction> TblSMITransactions { get; set; }
    }
}
