using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.DailyAttendance { public class DailyAttendanceFilterDTO { private int employeeid = -1; private int ouid = -1; private long attendancefromdate; private long attendancedate; private long attendancetodate; private int shiftid = -1; private int departmentid = -1; #region Newly added Filters private int employeetypeid = -1; private int paygroupid = -1; private int stafftypeid = -1; private int unitid = -1; private int religionid = -1; private int divisionid = -1; private int ourbranchid = -1; private int payconfigurationid = -1; private int reportingtoid = -1; #endregion private bool iscalculatepi = false; public int EmployeeId { get { return employeeid; } set { employeeid = value; } } public int OuId { get { return ouid; } set { ouid = value; } } public long AttendanceFromDate { get { return attendancefromdate; } set { attendancefromdate = value; } } public long AttendanceDate { get { return attendancedate; } set { attendancedate = value; } } public long AttendanceToDate { get { return attendancetodate; } set { attendancetodate = value; } } public int ShiftId { get { return shiftid; } set { shiftid = value; } } public int DepartmentId { get { return departmentid; } set { departmentid = value; } } #region Newly added Filters public int EmployeeTypeId { get { return employeetypeid; } set { employeetypeid = value; } } public int PayGroupId { get { return paygroupid; } set { paygroupid = value; } } public int StaffTypeId { get { return stafftypeid; } set { stafftypeid = value; } } public int UnitId { get { return unitid; } set { unitid = value; } } public int ReligionId { get { return religionid; } set { religionid = value; } } public int DivisionId { get { return divisionid; } set { divisionid = value; } } public int OurBranchId { get { return ourbranchid; } set { ourbranchid = value; } } public int PayConfigurationId { get { return payconfigurationid; } set { payconfigurationid = value; } } public int ReportingToId { get { return reportingtoid; } set { reportingtoid = value; } } #endregion #region New fields private int employeecodesort = 1; private int employeenamesort = 1; private int employeecodesortascdesc = 1; private int employeenamesortascdesc = 1; public int EmployeeCodeSort { get { return employeecodesort; } set { employeecodesort = value; } } public int EmployeeNameSort { get { return employeenamesort; } set { employeenamesort = value; } } public int EmployeeCodeSortASCDesc { get { return employeecodesortascdesc; } set { employeecodesortascdesc = value; } } public int EmployeeNameSortASCDesc { get { return employeenamesortascdesc; } set { employeenamesortascdesc = value; } } #endregion public bool IsCalculatePI { get { return iscalculatepi; } set { iscalculatepi = value; } } private string remarks = ""; public string Remarks { get { return remarks; } set { remarks = value; } } private int isprocessasynch = 1; public int IsProcessAsynch { get { return isprocessasynch; } set { isprocessasynch = value; } } } }