//------------------------------------------------------------------------------
// <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 TblTimeOffVoucher
    {
        public TblTimeOffVoucher()
        {
            this.TblLeads = new HashSet<TblLead>();
        }
    
        public int OID { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public Nullable<int> Retailer { get; set; }
        public Nullable<int> VoucherType { get; set; }
        public string VoucherNumber { get; set; }
        public string Title { get; set; }
        public string FirstNames { get; set; }
        public string Surname { get; set; }
        public string Initials { get; set; }
        public string IDNumber { get; set; }
        public string EmailAddress { get; set; }
        public string Occupation { get; set; }
        public Nullable<int> MaritalStatus { get; set; }
        public string SpouseOccupation { get; set; }
        public Nullable<int> IncomeBracket { get; set; }
        public Nullable<bool> HolidayHome { get; set; }
        public Nullable<bool> TimeShare { get; set; }
        public Nullable<bool> OtherOwnedHolidayAccomodation { get; set; }
        public string OtherOwnedHolidayAccomodationDescription { get; set; }
        public string CellPhoneNumber { get; set; }
        public string OneTimePassword { get; set; }
        public string Password { get; set; }
        public byte[] PasswordByte { get; set; }
        public Nullable<int> Lead { get; set; }
        public Nullable<int> Resort { get; set; }
        public string BookingReference { get; set; }
        public Nullable<int> Contract { get; set; }
        public Nullable<System.DateTime> ArrivalDate { get; set; }
        public Nullable<System.DateTime> DepartureDate { get; set; }
        public Nullable<int> Rating { get; set; }
        public string UnitNumber { get; set; }
        public Nullable<bool> Arrived { get; set; }
        public Nullable<bool> Contacted { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { 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 SpecialDietaryRequirements { get; set; }
        public string VehicleRegNo { get; set; }
        public Nullable<bool> WelcomeMessageSent { get; set; }
        public Nullable<bool> DayOfArrivalMessageSent { get; set; }
        public Nullable<bool> WeekReminderEmailSent { get; set; }
        public string ConfigurationCode { get; set; }
        public Nullable<bool> DayOfDepartureMessageSent { get; set; }
        public Nullable<bool> SurveyEmailSent { get; set; }
        public Nullable<System.DateTime> DateOfBirth { get; set; }
        public Nullable<System.DateTime> ResortBookingDate { get; set; }
        public Nullable<System.DateTime> VoucherRegDate { get; set; }
        public string AdditionalCellPhoneNumber { get; set; }
    
        public virtual TblResort TblResort { get; set; }
        public virtual Title Title1 { get; set; }
        public virtual TblVoucherType TblVoucherType { get; set; }
        public virtual TblIncomeBracket TblIncomeBracket { get; set; }
        public virtual ICollection<TblLead> TblLeads { get; set; }
    }
}
