60 lines
1.3 KiB
C#
60 lines
1.3 KiB
C#
namespace _0_Framework.Domain.CustomizeCheckoutValueObjects;
|
|
|
|
public class BaseYearsPay
|
|
{
|
|
public BaseYearsPay(BaseYearsPayType baseYearsPayType)
|
|
{
|
|
BaseYearsPayType = baseYearsPayType;
|
|
}
|
|
|
|
private BaseYearsPay()
|
|
{
|
|
}
|
|
|
|
public BaseYearsPayType BaseYearsPayType { get; private set; }
|
|
public double Value { get; set; }
|
|
public BaseYearsPaymentType PaymentType { get; set; }
|
|
}
|
|
|
|
public enum BaseYearsPaymentType
|
|
{
|
|
/// <summary>
|
|
/// پرداخت نمیگردد
|
|
/// </summary>
|
|
None,
|
|
/// <summary>
|
|
/// پرداخت به صورت سالانه در آخر سال پرداخت میگردد
|
|
/// </summary>
|
|
YearlyPay,
|
|
/// <summary>
|
|
/// پرداخت به صورت ماهانه
|
|
/// </summary>
|
|
MonthlyPay
|
|
}
|
|
|
|
public enum BaseYearsPayType
|
|
{
|
|
/// <summary>
|
|
///محاسبه نمیشود
|
|
/// </summary>
|
|
None,
|
|
|
|
/// <summary>
|
|
/// به صورت درصدی از حقوق
|
|
/// </summary>
|
|
PercentageOfSalary,
|
|
|
|
/// <summary>
|
|
/// دوبرابر حقوق
|
|
/// </summary>
|
|
TwoTimeOfSalary,
|
|
|
|
/// <summary>
|
|
/// یک برابر حقوق
|
|
/// </summary>
|
|
OneTimeOfSalary,
|
|
/// <summary>
|
|
/// مبلغ اختصاصی برای سنوات
|
|
/// </summary>
|
|
Money
|
|
} |