//------------------------------------------------------------------------------
// <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 TblTimeOffNoVoucher
    {
        public TblTimeOffNoVoucher()
        {
            this.TblLeads = new HashSet<TblLead>();
        }
    
        public int OID { get; set; }
        public Nullable<System.DateTime> DateCreated { 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 string BookingReference { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<bool> WelcomeMessageSent { get; set; }
        public Nullable<bool> Contacted { get; set; }
        public string HowDidYouHearAboutUs { get; set; }
        public Nullable<bool> WantingToAttend { get; set; }
        public string Comments { get; set; }
        public Nullable<int> CallbackOption { get; set; }
        public Nullable<System.DateTime> CallbackTime { get; set; }
        public Nullable<int> Age { get; set; }
        public Nullable<System.DateTime> DateOfBirth { get; set; }
    
        public virtual Title Title1 { get; set; }
        public virtual TblIncomeBracket TblIncomeBracket { get; set; }
        public virtual ICollection<TblLead> TblLeads { get; set; }
    }
}
