40 lines
1000 B
C#
40 lines
1000 B
C#
namespace _0_Framework.Domain.CustomizeCheckoutValueObjects;
|
|
|
|
public class InsuranceDeduction
|
|
{
|
|
public InsuranceDeduction(InsuranceDeductionType insuranceDeductionType, double value)
|
|
{
|
|
InsuranceDeductionType = insuranceDeductionType;
|
|
Value = value;
|
|
}
|
|
|
|
private InsuranceDeduction()
|
|
{
|
|
}
|
|
|
|
public InsuranceDeductionType InsuranceDeductionType { get; private set; }
|
|
public double Value { get; private set; }
|
|
}
|
|
public enum InsuranceDeductionType
|
|
{
|
|
/// <summary>
|
|
/// محاسبه نمیشود
|
|
/// </summary>
|
|
None,
|
|
|
|
/// <summary>
|
|
/// بر اساس قانون کار (حقوق+بن کارگری+ بن مسکن+حق تاهل)*7درصد
|
|
/// </summary>
|
|
BasedOnLaborLaw,
|
|
|
|
/// <summary>
|
|
/// بر اساس درصد از حقوق تعیین شده
|
|
/// </summary>
|
|
PercentageOfSalary,
|
|
|
|
/// <summary>
|
|
/// به صورت مبلغ ماهانه اختصاصی پرداخت میشود
|
|
/// </summary>
|
|
Money
|
|
|
|
} |