EchoTex_Payroll/HRM.BO/Tax/TaxParameterSlab.cs
2024-10-14 10:01:49 +06:00

53 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ease.Core;
using Ease.Core.Model;
using System.Data;
namespace HRM.BO
{
public class TaxParameterSlab:AuditTrailBase
{
#region Constructor
public TaxParameterSlab()
{
TaxparamID = 0;
IncomeAmount = 0;
TaxPercent = 0;
SequenceNo = 0;
ParamType = EnumTaxSlabType.Age;
}
#endregion
#region Properties
public int TaxparamID { get; set; }
public double IncomeAmount { get; set; }
public double TaxPercent { get; set; }
public EnumTaxSlabType ParamType { get; set; }
public double SlabTaxAmount { get; set; }
public double SlabTaxableAmount { get; set; }
public int SequenceNo { get; set; }
public static double GetTotalTaxAmount(List<TaxParameterSlab> slabItems)
{
double amount = 0;
foreach (TaxParameterSlab item in slabItems)
{
amount = amount + item.SlabTaxAmount;
}
return amount;
}
#endregion
}
}