//------------------------------------------------------------------------------
//
// 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.
//
//------------------------------------------------------------------------------
namespace ERD
{
using System;
using System.Collections.Generic;
public partial class TblLead
{
public int LeadNum { get; set; }
public string Title { get; set; }
public string FirstName { get; set; }
public string Initials { get; set; }
public string Surname { get; set; }
public string IDNumber { get; set; }
public Nullable DateOfBirth { get; set; }
public Nullable MaritalStatus { get; set; }
public string Cellphone { get; set; }
public string WorkPhone { get; set; }
public string HomePhone { get; set; }
public string EmailAddress { get; set; }
public string SpouseTitle { get; set; }
public string SpouseFirstName { get; set; }
public string SpouseInitials { get; set; }
public string SpouseSurname { get; set; }
public string SpouseIDNumber { get; set; }
public Nullable SpouseDateOfBirth { get; set; }
public string AddressLine1 { get; set; }
public string AddressLine2 { get; set; }
public string AddressLine3 { get; set; }
public string AddressLine4 { get; set; }
public string AddressLine5 { get; set; }
public Nullable LastCalled { get; set; }
public Nullable ConsentToCall { get; set; }
public Nullable DoNotContact { get; set; }
public Nullable OwnedBy { get; set; }
public Nullable AllocatedTo { get; set; }
public Nullable AllocatedDateTime { get; set; }
public Nullable LeadDate { get; set; }
public string OPCRef { get; set; }
public Nullable OPCDate { get; set; }
public string OPCCompany { get; set; }
public Nullable ImportSource { get; set; }
public Nullable OptimisticLockField { get; set; }
public string FaxNumber { get; set; }
public string Region { get; set; }
public string LastNumberCalled { get; set; }
public Nullable Language { get; set; }
public Nullable Age { get; set; }
public string Occupation { get; set; }
public string SpouseOccupation { get; set; }
public Nullable RegularHolidays { get; set; }
public Nullable TotalHolidayDuration { get; set; }
public Nullable LocalHolidayDuration { get; set; }
public Nullable IntHolidayDuration { get; set; }
public string DreamDestination { get; set; }
public string LastHolidayDestination { get; set; }
public Nullable LastHolidayYear { get; set; }
public Nullable AgeBand { get; set; }
public string LeadID { get; set; }
public Nullable IncomeGroup { get; set; }
public Nullable Ethnicity { get; set; }
public string BatchNumber { get; set; }
public Nullable NotQualified { get; set; }
public string VoucherNo { get; set; }
public Nullable ReferredBy { get; set; }
public string Surveyor { get; set; }
public string Comments { get; set; }
public Nullable SurveyedBefore { get; set; }
public string SurveyedByWhom { get; set; }
public string PriorPresentedBy { get; set; }
public Nullable DateCreated { get; set; }
public Nullable CreatedBy { get; set; }
public Nullable DuplicateLead { get; set; }
public Nullable LastShow { get; set; }
public string CTBatchNumber { get; set; }
public Nullable SpecialTMAllocation { get; set; }
public Nullable CallReschedule { get; set; }
public Nullable CreditCard { get; set; }
public string ImportSourceText { get; set; }
public string RegionText { get; set; }
public Nullable HardBlock { get; set; }
public string SurveyorName { get; set; }
public string CallStatus { get; set; }
public Nullable SalesRegion { get; set; }
public Nullable Countryname { get; set; }
public Nullable MostRecentRanking { get; set; }
public Nullable SoftblockDateTime { get; set; }
public Nullable SoftBlock { get; set; }
public Nullable TimeOffLead { get; set; }
public Nullable TimeOffVoucherNumber { get; set; }
public Nullable TimeOffNonVoucherNumber { get; set; }
public Nullable OccupationNew { get; set; }
public Nullable SpouseOccupationNew { get; set; }
public Nullable HolidayInNigeria { get; set; }
public Nullable HolidayInternational { get; set; }
public Nullable UseCreditCard { get; set; }
public Nullable UseCheque { get; set; }
public Nullable UseATM { get; set; }
public Nullable OPCLocation { get; set; }
public string MarketingCampaign { get; set; }
public Nullable CanMakeBooking { get; set; }
public virtual TblEthnicity TblEthnicity { get; set; }
public virtual TblImportSource TblImportSource { get; set; }
public virtual TblIncomeBracket TblIncomeBracket { get; set; }
public virtual Title Title1 { get; set; }
public virtual TblTimeOffNoVoucher TblTimeOffNoVoucher { get; set; }
public virtual TblTimeOffVoucher TblTimeOffVoucher { get; set; }
public virtual Title Title2 { get; set; }
}
}