using System;
using System.Linq;
using System.Data;


using System.Collections.Generic;


namespace HRM.BO.Fund
{
    public class YearEnd : AuditTrailBase
    {
        public YearEnd()
        {
            Year = 0;
            FirstDateOfYear = DateTime.MinValue;
            LastDateOfYear = DateTime.MaxValue;
            AllIncomeGLPosting = string.Empty;
            AllExpenditureGLPosting = string.Empty;
            AllFixedAssetGLPosting = string.Empty;
            AllFixedLiabilityGLPosting = string.Empty;
            AllIncomeBalance = 0;
            AllExpenditureBalance = 0;
            AllFixedAssetGLBalance = 0;
            AllFixedLiabilityGLBalance = 0;
        }

        #region Properties

        public int Year { get; set; }

        public DateTime FirstDateOfYear { get; set; }

        public DateTime LastDateOfYear { get; set; }

        public string AllIncomeGLPosting { get; set; }

        public string AllExpenditureGLPosting { get; set; }

        public string AllFixedAssetGLPosting { get; set; }

        public string AllFixedLiabilityGLPosting { get; set; }

        public decimal AllIncomeBalance { get; set; }

        public decimal AllExpenditureBalance { get; set; }

        public decimal AllFixedAssetGLBalance { get; set; }

        public decimal AllFixedLiabilityGLBalance { get; set; }

        //public EaseFAS.BO.GLTran GlTran { get; set; }

        #endregion Properties
    }

    public interface IYearEndService
    {
       // void Save(CompanyInfo companyInfo, YearEnd yearEnd);
       // void DoYearEnd(CompanyInfo companyInfo, YearEnd yearEnd, EaseFAS.BO.GLTrans oTrans,
       // List<FM.BO.Common.MembersTransactionDetails> membertransactions);
        void UndoYearEnd(DateTime YearEndDate);

    }
}