//------------------------------------------------------------------------------
// <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 TblPortfolio
    {
        public TblPortfolio()
        {
            this.TblOverrideAudits = new HashSet<TblOverrideAudit>();
            this.TblPortfolioDocuments = new HashSet<TblPortfolioDocument>();
            this.TblPortfolioNotes = new HashSet<TblPortfolioNote>();
            this.TblPortfolioNotes1 = new HashSet<TblPortfolioNote>();
            this.TblPortfolioResetEstateLates = new HashSet<TblPortfolioResetEstateLate>();
            this.TblSMSCampaignMessages = new HashSet<TblSMSCampaignMessage>();
            this.TblStreamlines = new HashSet<TblStreamline>();
            this.TblTelephones = new HashSet<TblTelephone>();
            this.TblUnipointBookings = new HashSet<TblUnipointBooking>();
            this.TblUnipointBookingWeeks = new HashSet<TblUnipointBookingWeek>();
            this.TblUpdateBankingDetails = new HashSet<TblUpdateBankingDetail>();
            this.TblWeekBankings = new HashSet<TblWeekBanking>();
            this.Transfigurations = new HashSet<Transfiguration>();
        }
    
        public int OID { get; set; }
        public Nullable<int> PortfolioNumber { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public string CreatedBy { get; set; }
        public string EmailAddress { get; set; }
        public string Title { get; set; }
        public string Initials { get; set; }
        public string FirstNames { get; set; }
        public string Surname { get; set; }
        public string IDNumber { get; set; }
        public Nullable<bool> ReceiveInfo { get; set; }
        public Nullable<bool> OptOut { get; set; }
        public Nullable<bool> PersonalDataShared { get; set; }
        public Nullable<bool> Reconsider { get; set; }
        public Nullable<System.DateTime> DateOfBirth { get; set; }
        public string SpouseTitle { get; set; }
        public string SpouseInitials { get; set; }
        public string SpouseFirstName { get; set; }
        public string SpouseSurname { get; set; }
        public string SpouseIDNumber { get; set; }
        public string SpouseWorkPhoneNumber { get; set; }
        public string SpouseCellphoneNumber { get; set; }
        public string SpouseEmailAddress { get; set; }
        public string CompanyName { get; set; }
        public string CompanyRegNo { get; set; }
        public string BookingRefText { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> HowMarried { get; set; }
        public Nullable<bool> JointPurchase { get; set; }
        public string OtherContact { get; set; }
        public string ExternalAccountNumber { get; set; }
        public string BookingRef { get; set; }
        public string FacebookAddress { get; set; }
        public string TwitterAddress { get; set; }
        public Nullable<System.DateTime> DateTimeUpdated { get; set; }
        public Nullable<System.DateTime> DebtReviewDate { get; set; }
        public Nullable<System.DateTime> DateTimeSent { get; set; }
        public string WebAddress { get; set; }
        public string IMAddress { get; set; }
        public string SkypeAddress { get; set; }
        public string LinkedInAddress { get; set; }
        public string TempPwd { get; set; }
        public string DefaultTelephone { get; set; }
        public Nullable<bool> Email { get; set; }
        public Nullable<bool> Post { get; set; }
        public string PortfolioString { get; set; }
        public Nullable<System.DateTime> LastUpdated { get; set; }
        public Nullable<int> Status { get; set; }
        public string RCINumber { get; set; }
        public string CertificateName { get; set; }
        public string Password { get; set; }
        public Nullable<int> DefaultComAddress { get; set; }
        public byte[] PasswordByte { get; set; }
        public Nullable<bool> SendToCollectionSystem { get; set; }
        public Nullable<System.DateTime> DateLastSentToCollectionSystem { get; set; }
        public Nullable<bool> FundInstallment { get; set; }
        public Nullable<bool> DoNotDecreaseInstallment { get; set; }
        public Nullable<System.DateTime> RCIEnrolledDate { get; set; }
        public Nullable<bool> IsCompany { get; set; }
        public string PowerOfAttorney { get; set; }
        public string POFAIDNumber { get; set; }
        public Nullable<bool> ReconsiderTwoYears { get; set; }
        public Nullable<System.DateTime> ReconsiderTwoYearsSelected { get; set; }
        public Nullable<bool> POAMakeReservation { get; set; }
        public Nullable<bool> POAEquireAvailableBenefits { get; set; }
        public Nullable<bool> POAEnquireFinancialDetails { get; set; }
        public Nullable<bool> POAAmendPersonalInformation { get; set; }
        public Nullable<bool> ReceiveLeaseInfo { get; set; }
        public string CustomerVATNr { get; set; }
        public Nullable<bool> IsForeigner { get; set; }
        public string PassportNumber { get; set; }
        public Nullable<System.DateTime> SpouseDOB { get; set; }
        public Nullable<bool> IsSpouseForeigner { get; set; }
        public string SpousePassportNumber { get; set; }
        public Nullable<bool> SoleProprietor { get; set; }
        public Nullable<bool> IsEstateLate { get; set; }
        public Nullable<bool> IsSpouseEstateLate { get; set; }
        public Nullable<System.DateTime> DateEstateLate { get; set; }
        public Nullable<System.DateTime> DateSpouseEstateLate { get; set; }
        public Nullable<int> EstateLateSent { get; set; }
        public Nullable<int> EstateLateSpouseSent { get; set; }
        public string CapacityOfRepresentative { get; set; }
        public Nullable<bool> NameChange { get; set; }
        public Nullable<bool> PurchasedToOccupy { get; set; }
        public Nullable<bool> PurchasedToExchange { get; set; }
    
        public virtual ICollection<TblOverrideAudit> TblOverrideAudits { get; set; }
        public virtual TblSACRRAData TblSACRRAData { get; set; }
        public virtual TblSACRRAData TblSACRRAData1 { get; set; }
        public virtual Title Title1 { get; set; }
        public virtual Title Title2 { get; set; }
        public virtual ICollection<TblPortfolioDocument> TblPortfolioDocuments { get; set; }
        public virtual ICollection<TblPortfolioNote> TblPortfolioNotes { get; set; }
        public virtual ICollection<TblPortfolioNote> TblPortfolioNotes1 { get; set; }
        public virtual ICollection<TblPortfolioResetEstateLate> TblPortfolioResetEstateLates { get; set; }
        public virtual ICollection<TblSMSCampaignMessage> TblSMSCampaignMessages { get; set; }
        public virtual ICollection<TblStreamline> TblStreamlines { get; set; }
        public virtual ICollection<TblTelephone> TblTelephones { get; set; }
        public virtual ICollection<TblUnipointBooking> TblUnipointBookings { get; set; }
        public virtual ICollection<TblUnipointBookingWeek> TblUnipointBookingWeeks { get; set; }
        public virtual ICollection<TblUpdateBankingDetail> TblUpdateBankingDetails { get; set; }
        public virtual ICollection<TblWeekBanking> TblWeekBankings { get; set; }
        public virtual ICollection<Transfiguration> Transfigurations { get; set; }
    }
}
