//------------------------------------------------------------------------------
// <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 TblPromoConfig
    {
        public TblPromoConfig()
        {
            this.TblPromoDocuments = new HashSet<TblPromoDocument>();
            this.TblPromoMembers = new HashSet<TblPromoMember>();
        }
    
        public int OID { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public string CreatedBy { get; set; }
        public string CampaignName { get; set; }
        public Nullable<System.DateTime> StartDate { get; set; }
        public Nullable<System.DateTime> EndDate { get; set; }
        public Nullable<System.DateTime> ArrivalDate { get; set; }
        public Nullable<System.DateTime> DepartureDate { get; set; }
        public Nullable<System.DateTime> PromoArrivalDate { get; set; }
        public Nullable<System.DateTime> PromoDepartureDate { get; set; }
        public Nullable<int> Category { get; set; }
        public Nullable<int> Resort { get; set; }
        public Nullable<int> PromoResort { get; set; }
        public Nullable<decimal> Value { get; set; }
        public Nullable<int> ValueType { get; set; }
        public string PromoCode { get; set; }
        public string HTMLTemplate { get; set; }
        public Nullable<System.Guid> ImportTemplate { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
    
        public virtual TblPromoCategory TblPromoCategory { get; set; }
        public virtual TblResort TblResort { get; set; }
        public virtual TblResort TblResort1 { get; set; }
        public virtual ICollection<TblPromoDocument> TblPromoDocuments { get; set; }
        public virtual ICollection<TblPromoMember> TblPromoMembers { get; set; }
    }
}
