//------------------------------------------------------------------------------
// <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 TblSMISalesPersonWeek
    {
        public TblSMISalesPersonWeek()
        {
            this.TblSMICommissionContracts = new HashSet<TblSMICommissionContract>();
        }
    
        public System.Guid Oid { get; set; }
        public Nullable<System.Guid> CommissionWeek { get; set; }
        public Nullable<System.Guid> CommissionInfo { get; set; }
        public Nullable<bool> TargetMade { get; set; }
        public Nullable<decimal> NewBusinessPercentage { get; set; }
        public Nullable<decimal> Turnover { get; set; }
        public Nullable<decimal> CommissionPercentage { get; set; }
        public Nullable<int> Comments { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
    
        public virtual ICollection<TblSMICommissionContract> TblSMICommissionContracts { get; set; }
        public virtual TblSMICommissionInfo TblSMICommissionInfo { get; set; }
        public virtual TblSMICommissionWeek TblSMICommissionWeek { get; set; }
    }
}
