//------------------------------------------------------------------------------
// <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 TblJournalBatch
    {
        public TblJournalBatch()
        {
            this.TblJournalLines = new HashSet<TblJournalLine>();
        }
    
        public int OID { get; set; }
        public Nullable<System.DateTime> DateCaptured { get; set; }
        public Nullable<System.Guid> CapturedBy { get; set; }
        public Nullable<System.DateTime> PostedToDebtors { get; set; }
        public Nullable<decimal> BatchAmount { get; set; }
        public Nullable<int> TransactionType { get; set; }
        public Nullable<System.Guid> AuthoriseBy { get; set; }
        public Nullable<bool> FullyAuthorised { get; set; }
        public Nullable<decimal> CalculatedTotal { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> BankAccounts { get; set; }
        public Nullable<bool> Declined { get; set; }
        public Nullable<bool> Checked { get; set; }
        public Nullable<bool> CreatedNotificationSend { get; set; }
        public Nullable<int> CancellationSettlement { get; set; }
        public string Captured { get; set; }
    
        public virtual TblDebtorTranType TblDebtorTranType { get; set; }
        public virtual ICollection<TblJournalLine> TblJournalLines { get; set; }
    }
}
