//------------------------------------------------------------------------------
// <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 TblSACRRAData
    {
        public TblSACRRAData()
        {
            this.TblSACRRAConsoftGlobalDatas = new HashSet<TblSACRRAConsoftGlobalData>();
            this.TblSACRRADebtorStatus = new HashSet<TblSACRRADebtorStatu>();
            this.TblPortfolios = new HashSet<TblPortfolio>();
            this.TblPortfolios1 = new HashSet<TblPortfolio>();
        }
    
        public int OID { get; set; }
        public Nullable<int> Batch { get; set; }
        public Nullable<int> Debtor { get; set; }
        public string Error { get; set; }
        public string Data { get; set; }
        public string SAID { get; set; }
        public string NonSAID { get; set; }
        public string Gender { get; set; }
        public Nullable<System.DateTime> DateOfBirth { get; set; }
        public string BranchCode { get; set; }
        public string AccountNo { get; set; }
        public string SubAccoutNo { get; set; }
        public string Surname { get; set; }
        public string Title { get; set; }
        public string Forename1 { get; set; }
        public string Forename2 { get; set; }
        public string Forename3 { get; set; }
        public string ResAddress1 { get; set; }
        public string ResAddress2 { get; set; }
        public string ResAddress3 { get; set; }
        public string ResAddress4 { get; set; }
        public string ResPostalCode { get; set; }
        public string OwnerTenant { get; set; }
        public string PostAddress1 { get; set; }
        public string PostAddress2 { get; set; }
        public string PostAddress3 { get; set; }
        public string PostAddress4 { get; set; }
        public string PostPostalCode { get; set; }
        public string OwnershipType { get; set; }
        public string LoanReasonCode { get; set; }
        public string PaymentType { get; set; }
        public string TypeOfAccount { get; set; }
        public Nullable<System.DateTime> DateAccountOpened { get; set; }
        public Nullable<System.DateTime> DeferredPaymentDate { get; set; }
        public Nullable<System.DateTime> DateOfLastPayment { get; set; }
        public Nullable<int> OpeningBalance { get; set; }
        public Nullable<int> CurrentBalance { get; set; }
        public string CurrentBalanceIndicator { get; set; }
        public Nullable<int> AmountOverdue { get; set; }
        public Nullable<int> InstalmentAmount { get; set; }
        public Nullable<int> MonthsInArrears { get; set; }
        public string StatusCode { get; set; }
        public string RepaymentFrequency { get; set; }
        public string Terms { get; set; }
        public Nullable<System.DateTime> StatusDate { get; set; }
        public string OldSupplierBranchCode { get; set; }
        public string OldAccountNumber { get; set; }
        public string OldSubAccountNumber { get; set; }
        public string OldSupplierReferenceNumber { get; set; }
        public string HomeTelephone { get; set; }
        public string Cellular { get; set; }
        public string WorkTelephone { get; set; }
        public string EmployerDetail { get; set; }
        public string Income { get; set; }
        public string IncomeFrequency { get; set; }
        public string Occupation { get; set; }
        public string ThirdPartyName { get; set; }
        public string AccountSoldToThirdParty { get; set; }
        public string NoOfParticipantsInJointLoan { get; set; }
        public string SupplierReferenceNumber { get; set; }
        public Nullable<System.DateTime> TransactionDate { get; set; }
        public Nullable<bool> IsConsoftOnceOff { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> MemberNumber { get; set; }
    
        public virtual TblSACRRABatch TblSACRRABatch { get; set; }
        public virtual ICollection<TblSACRRAConsoftGlobalData> TblSACRRAConsoftGlobalDatas { get; set; }
        public virtual ICollection<TblSACRRADebtorStatu> TblSACRRADebtorStatus { get; set; }
        public virtual TblDebtor TblDebtor { get; set; }
        public virtual ICollection<TblPortfolio> TblPortfolios { get; set; }
        public virtual ICollection<TblPortfolio> TblPortfolios1 { get; set; }
    }
}
