using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ease.CoreV35; using HRM.BO; namespace Payroll.BO { public class ClaimRule : BasicBaseObject { #region Constructor public ClaimRule() { } #endregion #region Properties public bool IsAnnualBalance { get; set; } public bool? OnceMonthly { get; set; } public bool? OnceDaily { get; set; } public bool IsAtActualPayment { get; set; } public double NotMaximum { get; set; } public int MaxServiceLength { get; set; } public int MonthDurationFromLastClaim { get; set; } public int NoOfDependent { get; set; } public enumwfStatus WFStatus { get; set; } public int ClaimBasicID { get; set; } public double FixedAmount { get; set; } public bool IsDesignationWiseDifferent { get; set; } public bool AllowAdvance { get; set; } public string AnnualBalance { get; set; } public string AtActualPayment { get; set; } public string ClaimBasicName { get; set; } public List ClaimRuleDesignations { get; set; } public List ClaimBasicItems { get; set; } #endregion } #region IClaimRule Service public interface IClaimRuleService { ClaimRule Get(int id); List Get(); List GetByClaimBasicID(int claimBasicID); int Save(ClaimRule item); void Save(List _claimBasicItems); void Delete(int id); void DeleteByClaimBasicID(int id); ClaimRuleDesignations GetClaimRuleGrades(int id); List GetClaimRuleGrades(); List GetClaimRuleGradesByClaimRuleID(int claimBasicID); int SaveClaimRuleGrades(ClaimRuleDesignations item); void SaveClaimRuleGrades(List _claimBasicItems); void DeleteClaimRuleGrades(int id); void DeleteClaimRuleGradesByClaimRuleID(int id); ClaimRule Get(int claimID, int DesignationID); } #endregion }