//------------------------------------------------------------------------------
// <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 TblMarketingCampaign
    {
        public TblMarketingCampaign()
        {
            this.TblMarketingCampaignResorts = new HashSet<TblMarketingCampaignResort>();
            this.TblVouchers = new HashSet<TblVoucher>();
            this.TblVoucherSeries = new HashSet<TblVoucherSery>();
        }
    
        public int OID { get; set; }
        public string CreatedBy { get; set; }
        public Nullable<System.DateTime> CreatedDate { get; set; }
        public string Name { get; set; }
        public Nullable<int> Brand { get; set; }
        public Nullable<int> Partner { get; set; }
        public string Description { get; set; }
        public string LastVoucherNumberUsed { get; set; }
        public string Prefix { get; set; }
        public string SmsUser { get; set; }
        public string SmsPassword { get; set; }
        public Nullable<bool> TimeSpesificAvailability { get; set; }
        public Nullable<System.DateTime> AvailabilityStart { get; set; }
        public Nullable<System.DateTime> AvailabilityEnd { get; set; }
        public Nullable<int> ResortBookingConfirmationDocumentPath { get; set; }
    
        public virtual ICollection<TblMarketingCampaignResort> TblMarketingCampaignResorts { get; set; }
        public virtual ICollection<TblVoucher> TblVouchers { get; set; }
        public virtual ICollection<TblVoucherSery> TblVoucherSeries { get; set; }
    }
}
