//------------------------------------------------------------------------------
// <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 TblExternalResortCommission
    {
        public TblExternalResortCommission()
        {
            this.TblExternalResortCommissionTransactions = new HashSet<TblExternalResortCommissionTransaction>();
        }
    
        public int OID { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public Nullable<int> Contract { get; set; }
        public Nullable<int> Resort { get; set; }
        public Nullable<int> Asset { get; set; }
        public Nullable<int> WeekModule { get; set; }
        public Nullable<decimal> TotalCommission { get; set; }
        public Nullable<int> Week { get; set; }
        public Nullable<int> GenerationRule { get; set; }
        public Nullable<int> CapitalDebtor { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
    
        public virtual TblDebtor TblDebtor { get; set; }
        public virtual TblResort TblResort { get; set; }
        public virtual TblExternalResortCommissionWeek TblExternalResortCommissionWeek { get; set; }
        public virtual TblWeekModule TblWeekModule { get; set; }
        public virtual ICollection<TblExternalResortCommissionTransaction> TblExternalResortCommissionTransactions { get; set; }
    }
}
