//------------------------------------------------------------------------------
// <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 TblDetailedInfo
    {
        public TblDetailedInfo()
        {
            this.TblVouchers = new HashSet<TblVoucher>();
        }
    
        public int OID { get; set; }
        public Nullable<System.DateTime> DateOfBirth { get; set; }
        public Nullable<int> MaritalStatus { get; set; }
        public Nullable<int> Ethnicity { get; set; }
        public string Title { get; set; }
        public string IDNumber { get; set; }
        public Nullable<bool> Contacted { get; set; }
        public string HowDidYouHearAboutUs { get; set; }
        public string Occupation { get; set; }
        public string SpouseOccupation { get; set; }
        public string OneTimePassword { get; set; }
        public string Password { get; set; }
        public byte[] PasswordByte { 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 Initials { get; set; }
    
        public virtual TblEthnicity TblEthnicity { get; set; }
        public virtual Title Title1 { get; set; }
        public virtual ICollection<TblVoucher> TblVouchers { get; set; }
    }
}
