EchoTex_Payroll/HRM.BO/Attendance/HelperModels/UpdateRosterModel.cs

26 lines
797 B
C#
Raw Normal View History

2024-10-14 10:01:49 +06:00
using System;
namespace HRM.BO
{
public class UpdateRosterModel
{
public int[] EmpIds { get; set; }
public DateTime FromDate { get; set; }
public DateTime ToDate { get; set; }
public int SaturdayShiftId { get; set; }
public int SundayShiftId { get; set; }
public int MondayShiftId { get; set; }
public int TuesdayShiftId { get; set; }
public int WednessdayShiftId { get; set; }
public int ThursdayShiftId { get; set; }
public int FridayShiftId { get; set; }
public int Holiday1 { get; set; }
public int Holiday2 { get; set; }
public string GetEmpIds()
{
return (EmpIds != null && EmpIds.Length > 0) ? string.Join(",", EmpIds) : string.Empty;
}
}
}