//------------------------------------------------------------------------------
// <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 TblJournalLine
    {
        public TblJournalLine()
        {
            this.TblDebtorTransactions = new HashSet<TblDebtorTransaction>();
            this.TblDebtorTransactions1 = new HashSet<TblDebtorTransaction>();
            this.TblJournalLineCatBreakdowns = new HashSet<TblJournalLineCatBreakdown>();
            this.TblJournalLineTransactions = new HashSet<TblJournalLineTransaction>();
            this.TblSuspenseTransactions = new HashSet<TblSuspenseTransaction>();
        }
    
        public int OID { get; set; }
        public Nullable<int> JournalBatch { get; set; }
        public Nullable<int> Debtor { get; set; }
        public Nullable<decimal> Amount { get; set; }
        public string Comments { get; set; }
        public Nullable<System.DateTime> EffectiveDate { get; set; }
        public string ReferenceNumber { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> PayType { get; set; }
        public Nullable<decimal> CapitalAllocation { get; set; }
        public Nullable<decimal> FeesAllocation { get; set; }
        public Nullable<decimal> InterestAllocation { get; set; }
        public Nullable<decimal> DebtorCapital { get; set; }
        public Nullable<decimal> DebtorFees { get; set; }
        public Nullable<decimal> DebtorInterest { get; set; }
        public Nullable<int> ToAccount { get; set; }
        public Nullable<int> LineTransactionType { get; set; }
        public Nullable<int> BankAccount { get; set; }
        public Nullable<bool> IsMultiReversal { 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<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<bool> Override { get; set; }
        public Nullable<int> ManagementFeeYear { get; set; }
        public Nullable<decimal> Instalment { get; set; }
        public Nullable<decimal> DeltaInstalment { get; set; }
        public Nullable<int> SupportingDocument { get; set; }
        public Nullable<bool> Posted { get; set; }
        public string ChequeNumber { get; set; }
        public Nullable<bool> TrfValidate { get; set; }
        public Nullable<bool> CancellationJournal { get; set; }
    
        public virtual TblDebtor TblDebtor { get; set; }
        public virtual ICollection<TblDebtorTransaction> TblDebtorTransactions { get; set; }
        public virtual ICollection<TblDebtorTransaction> TblDebtorTransactions1 { get; set; }
        public virtual TblDebtorTranType TblDebtorTranType { get; set; }
        public virtual TblJournalBatch TblJournalBatch { get; set; }
        public virtual ICollection<TblJournalLineCatBreakdown> TblJournalLineCatBreakdowns { get; set; }
        public virtual TblPaymentType TblPaymentType { get; set; }
        public virtual ICollection<TblJournalLineTransaction> TblJournalLineTransactions { get; set; }
        public virtual ICollection<TblSuspenseTransaction> TblSuspenseTransactions { get; set; }
    }
}
