//------------------------------------------------------------------------------
// <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 TblDebtorTranType
    {
        public TblDebtorTranType()
        {
            this.TblDebtorTransactions = new HashSet<TblDebtorTransaction>();
            this.TblDebtorTransactionsCatBreakdowns = new HashSet<TblDebtorTransactionsCatBreakdown>();
            this.TblDebtorTranTypes1 = new HashSet<TblDebtorTranType>();
            this.TblDebtorTranTypes11 = new HashSet<TblDebtorTranType>();
            this.TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals = new HashSet<TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals>();
            this.TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals1 = new HashSet<TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals>();
            this.TblGroupCategories = new HashSet<TblGroupCategory>();
            this.TblJournalBatches = new HashSet<TblJournalBatch>();
            this.TblJournalLines = new HashSet<TblJournalLine>();
            this.TblJournalLineTransactions = new HashSet<TblJournalLineTransaction>();
            this.TblJournalLineTransactions1 = new HashSet<TblJournalLineTransaction>();
            this.TblPaymentPlans = new HashSet<TblPaymentPlan>();
        }
    
        public int OID { get; set; }
        public string Description { get; set; }
        public Nullable<bool> CalculateInterest { get; set; }
        public string GroupCategory { get; set; }
        public Nullable<bool> PaymentTransaction { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<bool> JournalsAllowed { get; set; }
        public Nullable<int> TransactionSign { get; set; }
        public string Code { get; set; }
        public Nullable<int> Reversal { get; set; }
        public Nullable<int> TransactionCategory { get; set; }
        public Nullable<bool> TransferTransaction { get; set; }
        public Nullable<int> MainTransactionType { get; set; }
        public Nullable<bool> IsReversal { get; set; }
        public Nullable<bool> IsReversable { get; set; }
        public Nullable<int> PaymentType { get; set; }
        public Nullable<bool> CalculateCollectionFee { get; set; }
        public Nullable<int> AccountingType { get; set; }
        public Nullable<System.Guid> DebtorTransactionTypeReportGroup { get; set; }
        public string ConsoftCode { get; set; }
        public Nullable<bool> DoNotGenerateBankTransferCapital { get; set; }
        public Nullable<bool> DoNotGenerateBankTransferLevy { get; set; }
        public Nullable<bool> DoNotGenerateBankTransferAdmin { get; set; }
        public Nullable<bool> DebtorOnJournalCanBeBlank { get; set; }
        public Nullable<int> ContractStatus { get; set; }
        public Nullable<int> ReversalTranType { get; set; }
        public Nullable<bool> UnpaidPaymentTransaction { get; set; }
    
        public virtual ICollection<TblDebtorTransaction> TblDebtorTransactions { get; set; }
        public virtual ICollection<TblDebtorTransactionsCatBreakdown> TblDebtorTransactionsCatBreakdowns { get; set; }
        public virtual TblDebtorTransactionTypeReportGroup TblDebtorTransactionTypeReportGroup { get; set; }
        public virtual TblPaymentType TblPaymentType { get; set; }
        public virtual ICollection<TblDebtorTranType> TblDebtorTranTypes1 { get; set; }
        public virtual TblDebtorTranType TblDebtorTranType1 { get; set; }
        public virtual ICollection<TblDebtorTranType> TblDebtorTranTypes11 { get; set; }
        public virtual TblDebtorTranType TblDebtorTranType2 { get; set; }
        public virtual ICollection<TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals> TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals { get; set; }
        public virtual ICollection<TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals> TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals1 { get; set; }
        public virtual ICollection<TblGroupCategory> TblGroupCategories { get; set; }
        public virtual ICollection<TblJournalBatch> TblJournalBatches { get; set; }
        public virtual ICollection<TblJournalLine> TblJournalLines { get; set; }
        public virtual ICollection<TblJournalLineTransaction> TblJournalLineTransactions { get; set; }
        public virtual ICollection<TblJournalLineTransaction> TblJournalLineTransactions1 { get; set; }
        public virtual ICollection<TblPaymentPlan> TblPaymentPlans { get; set; }
    }
}
