using System; using System.Collections.Generic; using System.Data; namespace HRM.BO { #region AllowanceDeduction public class AllowanceDeduction : BasicBaseObject { #region Constructor public AllowanceDeduction() { Code = string.Empty; Name = string.Empty; NameInBangla = string.Empty; AllowOrDeductType = EnumAllowOrDeduct.Allowance; _status = EnumStatus.Active; } #endregion #region Properties public string Code { get; set; } public string Name { get; set; } public string NameInBangla { get; set; } public EnumAllowOrDeduct AllowOrDeductType { get; set; } public int payrolltypeid { get; set; } //#region Property Error List: DataUpload //private List _errorList; //public List ErrorList //{ // get { return _errorList; } // set { _errorList = value; } //} //#endregion #endregion //#region Service Factory IAllowanceDeductionService : IAllowanceDeductionService //internal static IAllowanceDeductionService Service //{ // get { return Services.Factory.CreateService(typeof(IAllowanceDeductionService)); } //} //#endregion } #endregion #region IAllowanceDeduction Service public interface IAllowanceDeductionService { List GetAllAllowance(int payrollTypeID, EnumAllowOrDeduct allowOrDeduct, EnumStatus status, string code, string name); List GetAllowance(EnumStatus status, int payrolltypeid); List GetDeduction(EnumStatus status, int payrolltypeid); AllowanceDeduction Get(int id); List GetAllowance(EnumPeriodicity periodicity, EnumAllowOrDeduct allowOrdeduct); List GetADparamAllowance(EnumStatus status, int payrollTypeID); // List GetDeduction(EnumStatus status); List Get(int payrolltypeid, EnumStatus status, EnumAllowOrDeduct nType, EnumPeriodicity nPeriodcity); List GetMonthyIndividualAndOneOff(int payrolltypeid, EnumStatus status, EnumAllowOrDeduct nType); int Save(AllowanceDeduction item); List GetByGradeID(EnumStatus status, int gradeID, EnumAllowOrDeduct type); void Delete(int id); List Get(EnumStatus status, EnumAllowOrDeduct nType, int payrollTypeID); List GetException(EnumStatus status, EnumAllowOrDeduct nType, int payrollTypeID); List GetAllowance(EnumPeriodicity enumPeriodicity, EnumEntitleType enumEntitleType, EnumAllowOrDeduct enumAllowOrDeduct); List Get(EnumStatus status); } #endregion }