88 lines
1.9 KiB
C#
88 lines
1.9 KiB
C#
using System.Collections.Generic;
|
||
|
||
namespace CompanyManagment.App.Contracts.Leave;
|
||
|
||
public class GroupLeaveListDto
|
||
{
|
||
/// <summary>
|
||
/// سال مرخصی
|
||
/// </summary>
|
||
public string YearStr { get; set; }
|
||
|
||
/// <summary>
|
||
/// ماه مرخصی
|
||
/// </summary>
|
||
public string MonthStr { get; set; }
|
||
/// <summary>
|
||
/// آیتم های هر گروه
|
||
/// </summary>
|
||
public List<LeaveListItemsDto> LeaveListItemsDto { get; set; }
|
||
}
|
||
|
||
/// <summary>
|
||
/// آیتم های هر گروه
|
||
/// </summary>
|
||
public class LeaveListItemsDto
|
||
{
|
||
/// <summary>
|
||
/// نوع مرخصی، استحقاقی/استعلاجی
|
||
/// </summary>
|
||
public string LeaveType { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// تاریخ شروع مرخصی
|
||
/// </summary>
|
||
public string StartLeave { get; set; }
|
||
|
||
/// <summary>
|
||
/// تاریخ پایان مرخصی
|
||
/// </summary>
|
||
public string EndLeave { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// زمان مرخصی
|
||
/// بازه مرخصی ساعتی
|
||
/// </summary>
|
||
public string HourlyInterval { get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// مدت مرخصی
|
||
/// </summary>
|
||
public string LeaveDuration { get; set; }
|
||
|
||
/// <summary>
|
||
/// موافقت/عدم موافقت کارفرما
|
||
/// </summary>
|
||
public bool IsAccepted { get; set; }
|
||
|
||
|
||
|
||
|
||
|
||
/// <summary>
|
||
/// آی دی
|
||
/// </summary>
|
||
public long Id { get; set; }
|
||
|
||
|
||
|
||
/// <summary>
|
||
/// آی دی گارگاه
|
||
/// </summary>
|
||
public long WorkshopId { get; set; }
|
||
|
||
/// <summary>
|
||
/// آی دی پرسنل
|
||
/// </summary>
|
||
public long EmployeeId { get; set; }
|
||
|
||
|
||
|
||
/// <summary>
|
||
///آیا فاقد اعتبار است. فاقد اعتبار ها فقط برای فیش های غیررسمی مورد استفاده قرار میگیرند
|
||
/// </summary>
|
||
public bool IsInvalid { get; set; }
|
||
} |