//------------------------------------------------------------------------------
// <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 TblDebtorTransaction
    {
        public TblDebtorTransaction()
        {
            this.TblDebtorResaleTransfers = new HashSet<TblDebtorResaleTransfer>();
            this.TblDebtorTransactions1 = new HashSet<TblDebtorTransaction>();
            this.TblDebtorTransactionsCatBreakdowns = new HashSet<TblDebtorTransactionsCatBreakdown>();
            this.TblJournalLineTransactions = new HashSet<TblJournalLineTransaction>();
            this.TblManagementFeesToAdjusts = new HashSet<TblManagementFeesToAdjust>();
        }
    
        public int OID { get; set; }
        public Nullable<int> Debtor { get; set; }
        public Nullable<int> TransactionType { get; set; }
        public Nullable<System.DateTime> EffectiveDate { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public string CreatedBy { get; set; }
        public string ReferenceNumber { get; set; }
        public Nullable<decimal> Amount { get; set; }
        public Nullable<int> StatementPeriod { get; set; }
        public Nullable<decimal> Current { get; set; }
        public Nullable<decimal> Days30 { get; set; }
        public Nullable<decimal> Days60 { get; set; }
        public Nullable<decimal> Days90 { get; set; }
        public Nullable<decimal> Days120 { get; set; }
        public Nullable<decimal> Days150 { get; set; }
        public Nullable<decimal> Days180 { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<decimal> DeltaCurrent { get; set; }
        public Nullable<decimal> DeltaDays30 { get; set; }
        public Nullable<decimal> DeltaDays60 { get; set; }
        public Nullable<decimal> DeltaDays90 { get; set; }
        public Nullable<decimal> DeltaDays120 { get; set; }
        public Nullable<decimal> DeltaDays150 { get; set; }
        public Nullable<decimal> DeltaDays180 { get; set; }
        public Nullable<decimal> Deposit { get; set; }
        public Nullable<bool> Reversed { get; set; }
        public Nullable<int> TblJournalLines { get; set; }
        public Nullable<decimal> DeltaDeposit { get; set; }
        public string Comments { get; set; }
        public string BankAccount { get; set; }
        public Nullable<byte> CurrentAge { get; set; }
        public Nullable<int> PayType { get; set; }
        public Nullable<decimal> Capital { get; set; }
        public Nullable<decimal> Fees { get; set; }
        public Nullable<decimal> Interest { get; set; }
        public Nullable<decimal> DeltaCapital { get; set; }
        public Nullable<decimal> DeltaFees { get; set; }
        public Nullable<decimal> DeltaInterest { get; set; }
        public Nullable<int> AllJournalLines { get; set; }
        public Nullable<decimal> TotalAmountReversedSoFar { get; set; }
        public Nullable<int> ManagementFeeYearRaised { get; set; }
        public Nullable<bool> IsManFeeEstimate { get; set; }
        public Nullable<bool> ManagementFeeAdjusted { get; set; }
        public Nullable<int> ConsoftCategory { get; set; }
        public Nullable<bool> SendToCollectionSystem { get; set; }
        public Nullable<System.DateTime> DateLastSentToCollectionSystem { get; set; }
        public Nullable<int> CollectionTran { get; set; }
        public Nullable<bool> IsReversed { get; set; }
        public Nullable<bool> ManualCategoryAllocation { get; set; }
        public Nullable<System.DateTime> DateRanThroughCommissionsReport { get; set; }
        public Nullable<decimal> CollectionFee { get; set; }
        public Nullable<System.DateTime> DateSentToNetready { get; set; }
        public Nullable<bool> Override { get; set; }
        public Nullable<int> CancellationProccess { get; set; }
        public Nullable<bool> DsDealInvoice { get; set; }
        public Nullable<bool> CommissionProcessed { get; set; }
        public Nullable<decimal> Instalment { get; set; }
        public Nullable<decimal> DeltaInstalment { get; set; }
        public Nullable<System.Guid> DebtorCode { get; set; }
        public Nullable<System.Guid> HideDebtorTransaction { get; set; }
        public Nullable<System.DateTime> CommissionProcessedDate { get; set; }
        public Nullable<int> BankTransfer { get; set; }
        public Nullable<decimal> ConversionRate { get; set; }
        public Nullable<decimal> ManFeeAdjustedAmount { get; set; }
        public Nullable<System.DateTime> ManFeeAdjustmentLetterGenerated { get; set; }
        public string DebtorStatus { get; set; }
        public Nullable<bool> SentToConsfot { get; set; }
        public Nullable<decimal> BreakDownAmount { get; set; }
        public string ChequeNumber { get; set; }
        public Nullable<int> AllBankStatementLines { get; set; }
        public Nullable<bool> IsTempReversed { get; set; }
    
        public virtual TblDebtor TblDebtor { get; set; }
        public virtual TblDebtorCoding TblDebtorCoding { get; set; }
        public virtual ICollection<TblDebtorResaleTransfer> TblDebtorResaleTransfers { get; set; }
        public virtual TblJournalLine TblJournalLine { get; set; }
        public virtual ICollection<TblDebtorTransaction> TblDebtorTransactions1 { get; set; }
        public virtual TblDebtorTransaction TblDebtorTransaction1 { get; set; }
        public virtual TblHideDebtorTransaction TblHideDebtorTransaction { get; set; }
        public virtual TblPaymentType TblPaymentType { get; set; }
        public virtual TblJournalLine TblJournalLine1 { get; set; }
        public virtual TblDebtorTranType TblDebtorTranType { get; set; }
        public virtual ICollection<TblDebtorTransactionsCatBreakdown> TblDebtorTransactionsCatBreakdowns { get; set; }
        public virtual ICollection<TblJournalLineTransaction> TblJournalLineTransactions { get; set; }
        public virtual ICollection<TblManagementFeesToAdjust> TblManagementFeesToAdjusts { get; set; }
    }
}
