namespace _0_Framework.Domain.CustomizeCheckoutValueObjects;
public class LeavePay
{
public LeavePay(LeavePayType leavePayType, double value)
{
LeavePayType = leavePayType;
//DayCountAllowable = dayCountAllowable;
Value = value;
}
private LeavePay()
{
}
///
/// نوع مرخصی
///
public LeavePayType LeavePayType { get; private set; }
/////
///// تعداد روز های مجاز مرخصی
/////
//public string DayCountAllowable { get; set; }
public double Value { get; private set; }
}
public enum LeavePayType
{
///
/// محاسبه و پرداخت نمیشود
///
None,
///
/// پرداخت میشود و چند برابر فیش حقوقی است
///
Pay,
/////
///// به ازای هر روز استفاده نشده از مرخصی درصدی از حقوق
/////
//Percentage,
/////
///// به ازای هر رور استفاده نشده از مرخصی به صورت مبلغ اختصاصی پرداخت میشود
/////
//Money
}