using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PayRollDAL.DTO.Employee; namespace PayRollDAL.DTO.MonthlyAttendance { public class CrewTimeSheetFullDTO { private int pendingcount; private int rejectedcount; private int approvalcount; private List crewtimesheetstatusdtos = new List(); public int PendingCount { get { return pendingcount; } set { pendingcount = value; } } public int RejectedCount { get { return rejectedcount; } set { rejectedcount = value; } } public int ApprovalCount { get { return approvalcount; } set { approvalcount = value; } } public List CrewTimesheetStatusDTOs { get { return crewtimesheetstatusdtos; } set { crewtimesheetstatusdtos = value; } } } public class CrewTimesheetStatusDTO { private int timsheetid; private string timesheetnumber; private int employeeid; private string crewid; private string crew; private string project; private string rolecode; private string rolename; private string hitchdate; private string timesheetdate; private decimal sitedays; private decimal yarddays; private decimal totaldays; private string status; private int proc_inst_id_; private int numberofapprover; private string client; private string clientlocation; private string submittedbyuser; private string submitteddatetime; private string verifiedbyuser; private string verifieddatetime; private List employeedailyattendanceloaddtos; private List crewapprovallistdtos; private int partyid; private int partybranchid; private int allocationid; private List crewapprovallabelnamedtos; public int TimeSheetId { get { return timsheetid; } set { timsheetid = value; } } public string TimeSheetNumber { get { return timesheetnumber; } set { timesheetnumber = value; } } public int EmployeeId { get { return employeeid; } set { employeeid = value; } } public string CrewId { get { return crewid; } set { crewid = value; } } public string Crew { get { return crew; } set { crew = value; } } public string Project { get { return project; } set { project = value; } } public string RoleCode { get { return rolecode; } set { rolecode = value; } } public string RoleName { get { return rolename; } set { rolename = value; } } public string HitchDate { get { return hitchdate; } set { hitchdate = value; } } public string TimeSheetDate { get { return timesheetdate; } set { timesheetdate = value; } } public decimal SiteDays { get { return sitedays; } set { sitedays = value; } } public decimal YardDays { get { return yarddays; } set { yarddays = value; } } public decimal TotalDays { get { return totaldays; } set { totaldays = value; } } public string Status { get { return status; } set { status = value; } } public int PROC_INST_ID_ { get { return proc_inst_id_; } set { proc_inst_id_ = value; } } public int NumberofApprover { get { return numberofapprover; } set { numberofapprover = value; } } public string Client { get { return client; } set { client = value; } } public string ClientLocation { get { return clientlocation; } set { clientlocation = value; } } public string SubmittedByUser { get { return submittedbyuser; } set { submittedbyuser = value; } } public string SubmittedDateTime { get { return submitteddatetime; } set { submitteddatetime = value; } } public string VerifiedByUser { get { return verifiedbyuser; } set { verifiedbyuser = value; } } public string VerifiedDateTime { get { return verifieddatetime; } set { verifieddatetime = value; } } public List EmployeeDailyAttendanceLoadDTOs { get { return employeedailyattendanceloaddtos; } set { employeedailyattendanceloaddtos = value; } } public List CrewApprovalListDTOs { get { return crewapprovallistdtos; } set { crewapprovallistdtos = value; } } public int PartyId { get { return partyid; } set { partyid = value; } } public int PartyBranchId { get { return partybranchid; } set { partybranchid = value; } } public int AllocationId { get { return allocationid; } set { allocationid = value; } } public List CrewApprovalLabelNameDTOs { get { return crewapprovallabelnamedtos; } set { crewapprovallabelnamedtos = value; } } } public class CrewTimesheetActivitiDTO { public string PROC_INST_ID_; public string OBJECTID; public string DOCUMENTNUMBER; public string STATUS; public string LEVELWISESTATUS; public string ASSIGNEE; public string ACTIONDATEANDTIME; } public class CrewTimesheetActivitiRequestDTO { private int timsheetid; private int proc_inst_id_; private string remarks; private string status; public int TimeSheetId { get { return timsheetid; } set { timsheetid = value; } } public int PROC_INST_ID_ { get { return proc_inst_id_; } set { proc_inst_id_ = value; } } public string Remarks { get { return remarks; } set { remarks = value; } } public string Status { get { return status; } set { status = value; } } } public class CrewTimesheetActivitiHistoryDTO { public string PROC_INST_ID_; public string OBJECTID; public string DOCUMENTNUMBER; public string ASSIGNEE; public string STATUS; public string COMMENT; public string COMMENTTIME; public Int64 SlNO; } public class CrewTimesheetHistoryOutPutDTO { private string name; private string organisation; private string comment; private string status; private string timestamp; public string Name { get { return name; } set { name = value; } } public string Organisation { get { return organisation; } set { organisation = value; } } public string Comment { get { return comment; } set { comment = value; } } public string Status { get { return status; } set { status = value; } } public string TimeStamp { get { return timestamp; } set { timestamp = value; } } } public class CrewApprovalListDTO { private int userid; private string approver; private string usertype; private string approverstatus; private string approverdateandtime; private string label; public int UserId { get { return userid; } set { userid = value; } } public string Approver { get { return approver; } set { approver = value; } } public string UserType { get { return usertype; } set { usertype = value; } } public string ApproverStatus { get { return approverstatus; } set { approverstatus = value; } } public string ApproverDateAndTime { get { return approverdateandtime; } set { approverdateandtime = value; } } public string Label { get { return label; } set { label = value; } } } public class CrewApprovalLabelNameDTO { private string labelname; public string LabelName { get { return labelname; } set { labelname = value; } } } }