//------------------------------------------------------------------------------
// <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 TblWeekModule
    {
        public TblWeekModule()
        {
            this.TblWeekBankings = new HashSet<TblWeekBanking>();
            this.TblResortRebateBlocks = new HashSet<TblResortRebateBlock>();
            this.TblDebtorManagementFeeValues = new HashSet<TblDebtorManagementFeeValue>();
            this.TblExternalResortCommissions = new HashSet<TblExternalResortCommission>();
            this.TblExternalResortCommissionWeeks = new HashSet<TblExternalResortCommissionWeek>();
            this.TblPromotions = new HashSet<TblPromotion>();
        }
    
        public int OID { get; set; }
        public Nullable<short> WeekNumber { get; set; }
        public string WeekModule { get; set; }
        public Nullable<int> WeekType { get; set; }
        public Nullable<int> WeekModuleType { get; set; }
        public Nullable<int> Resort { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> Season { get; set; }
        public Nullable<int> Year { get; set; }
        public Nullable<System.DateTime> ArrivalDate { get; set; }
        public Nullable<System.DateTime> DepartureDate { get; set; }
        public string CalendarCode { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public string CreatedBy { get; set; }
    
        public virtual ICollection<TblWeekBanking> TblWeekBankings { get; set; }
        public virtual TblResort TblResort { get; set; }
        public virtual ICollection<TblResortRebateBlock> TblResortRebateBlocks { get; set; }
        public virtual ICollection<TblDebtorManagementFeeValue> TblDebtorManagementFeeValues { get; set; }
        public virtual ICollection<TblExternalResortCommission> TblExternalResortCommissions { get; set; }
        public virtual ICollection<TblExternalResortCommissionWeek> TblExternalResortCommissionWeeks { get; set; }
        public virtual ICollection<TblPromotion> TblPromotions { get; set; }
    }
}
