26 lines
797 B
C#
26 lines
797 B
C#
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;
|
|
}
|
|
}
|
|
}
|