EchoTex_Payroll/HRM.BO/Claim/ClaimRule.cs

70 lines
2.2 KiB
C#
Raw Permalink Normal View History

2024-10-14 10:01:49 +06:00
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> ClaimRuleDesignations { get; set; }
public List<ClaimBasicItem> ClaimBasicItems { get; set; }
#endregion
}
#region IClaimRule Service
public interface IClaimRuleService
{
ClaimRule Get(int id);
List<ClaimRule> Get();
List<ClaimRule> GetByClaimBasicID(int claimBasicID);
int Save(ClaimRule item);
void Save(List<ClaimRule> _claimBasicItems);
void Delete(int id);
void DeleteByClaimBasicID(int id);
ClaimRuleDesignations GetClaimRuleGrades(int id);
List<ClaimRuleDesignations> GetClaimRuleGrades();
List<ClaimRuleDesignations> GetClaimRuleGradesByClaimRuleID(int claimBasicID);
int SaveClaimRuleGrades(ClaimRuleDesignations item);
void SaveClaimRuleGrades(List<ClaimRuleDesignations> _claimBasicItems);
void DeleteClaimRuleGrades(int id);
void DeleteClaimRuleGradesByClaimRuleID(int id);
ClaimRule Get(int claimID, int DesignationID);
}
#endregion
}