//------------------------------------------------------------------------------
// <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 TblExpenseCodesCompany
    {
        public TblExpenseCodesCompany()
        {
            this.TblTransferFunds = new HashSet<TblTransferFund>();
            this.TblTransferFunds1 = new HashSet<TblTransferFund>();
        }
    
        public int OID { get; set; }
        public Nullable<int> ExpenseCode { get; set; }
        public Nullable<short> Company { get; set; }
        public Nullable<double> BudgetThisYear { get; set; }
        public Nullable<double> BudgetLastYear { get; set; }
        public Nullable<double> BudgetNextYear { get; set; }
        public Nullable<double> ActualThisYear { get; set; }
        public Nullable<double> ActualLastYear { get; set; }
        public Nullable<double> ActualNextYear { get; set; }
        public Nullable<System.DateTime> LastUpdated { get; set; }
        public Nullable<bool> ManualAuthorisePayment { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<double> InterimActualAmount { get; set; }
    
        public virtual TblExpenseCode TblExpenseCode { get; set; }
        public virtual ICollection<TblTransferFund> TblTransferFunds { get; set; }
        public virtual ICollection<TblTransferFund> TblTransferFunds1 { get; set; }
    }
}
