//------------------------------------------------------------------------------
// <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 TblVoucher
    {
        public int OID { get; set; }
        public string CreatedBy { get; set; }
        public Nullable<System.DateTime> CreatedDate { get; set; }
        public Nullable<int> DetailedInfo { get; set; }
        public Nullable<int> Campaign { get; set; }
        public string ConfigurationCode { get; set; }
        public Nullable<int> Resort { get; set; }
        public string UnitNumber { get; set; }
        public Nullable<int> VoucherSeries { get; set; }
        public Nullable<System.Guid> AssetAvail { get; set; }
        public string VoucherNumber { get; set; }
        public string AdditionalCellPhoneNumber { get; set; }
        public Nullable<bool> WeekReminderEmailSent { get; set; }
        public Nullable<bool> WelcomeMessageSent { get; set; }
        public Nullable<bool> DayOfArrivalMessageSent { get; set; }
        public Nullable<bool> DayOfDepartureMessageSent { get; set; }
        public Nullable<bool> SurveyEmailSent { get; set; }
        public Nullable<bool> BookingConfirmationFailed { get; set; }
        public Nullable<bool> Contacted { get; set; }
        public Nullable<bool> Arrived { get; set; }
        public Nullable<System.DateTime> ArrivalDate { get; set; }
        public Nullable<System.DateTime> DepartureDate { get; set; }
        public Nullable<System.DateTime> ResortBookingDate { get; set; }
        public Nullable<System.DateTime> VoucherRegDate { get; set; }
        public string Guest1Name { get; set; }
        public string Guest1Surname { get; set; }
        public string Guest1IdNumber { get; set; }
        public string Guest2Name { get; set; }
        public string Guest2Surname { get; set; }
        public string Guest2IdNumber { get; set; }
        public string Child1Name { get; set; }
        public string Child2Name { get; set; }
        public string Child3Name { get; set; }
        public string Disabilities { get; set; }
        public string VehicleRegNo { get; set; }
        public string ReasonSentFailed { get; set; }
    
        public virtual TblVoucherSery TblVoucherSery { get; set; }
        public virtual TblResort TblResort { get; set; }
        public virtual TblDetailedInfo TblDetailedInfo { get; set; }
        public virtual TblMarketingCampaign TblMarketingCampaign { get; set; }
    }
}
