//------------------------------------------------------------------------------
// <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 TblExpenseCode
    {
        public TblExpenseCode()
        {
            this.TblExpenseCodesCompanies = new HashSet<TblExpenseCodesCompany>();
            this.TblExpenseCodeTransactionsDetails = new HashSet<TblExpenseCodeTransactionsDetail>();
            this.TblInvoiceLines = new HashSet<TblInvoiceLine>();
        }
    
        public int OID { get; set; }
        public string ExpenseCode { get; set; }
        public string Description { get; set; }
        public Nullable<System.Guid> CreatedBy { get; set; }
        public Nullable<System.DateTime> DateCreated { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<bool> BankingTransfer { get; set; }
        public Nullable<bool> PettyCashTransfer { get; set; }
    
        public virtual ICollection<TblExpenseCodesCompany> TblExpenseCodesCompanies { get; set; }
        public virtual ICollection<TblExpenseCodeTransactionsDetail> TblExpenseCodeTransactionsDetails { get; set; }
        public virtual ICollection<TblInvoiceLine> TblInvoiceLines { get; set; }
    }
}
