//------------------------------------------------------------------------------
// <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 TblSMICommissionPeriod
    {
        public TblSMICommissionPeriod()
        {
            this.TblSMICommissionInfoes = new HashSet<TblSMICommissionInfo>();
            this.TblSMICommissionWeeks = new HashSet<TblSMICommissionWeek>();
            this.TblSMITransactions = new HashSet<TblSMITransaction>();
        }
    
        public System.Guid Oid { get; set; }
        public Nullable<System.DateTime> FromDate { get; set; }
        public Nullable<System.DateTime> ToDate { get; set; }
        public Nullable<System.DateTime> DotCutOff { get; set; }
        public Nullable<System.DateTime> PayDate { get; set; }
        public Nullable<int> CommissionPeriod { get; set; }
        public Nullable<bool> ReadyForSignOff { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
    
        public virtual ICollection<TblSMICommissionInfo> TblSMICommissionInfoes { get; set; }
        public virtual ICollection<TblSMICommissionWeek> TblSMICommissionWeeks { get; set; }
        public virtual ICollection<TblSMITransaction> TblSMITransactions { get; set; }
    }
}
