using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.OverTime { public class OverTimeSummaryDTO { #region PrivateMembers #region OverTime private int overtimeid; private string overtimeovertimenumber; //OverTimeNumber //private DateTime overtimeforthedate; //ForTheDate private string overtimeremarks; //Remarks private double overtimedetailduration; //Duration private double overtimedetailfactor; //Factor private double overtimedetailfactorhrs; //FactorHrs private double overtimetotalduration; //Duration private double overtimetotalfactorhrs; //Factor private string overtimecalduration; //Factor private string overtimecalfactorhrs; //FactorHrs private int overtimedetailid; private double overtimetotalactualothours; private string overtimecaltotalactualothours; #region OverTimeDetail private int employeeid; //Id private string employeecode; //Code private string employeename; //Name #endregion private int departmentid; private string departmentname; private int designationid = -1; private string designationcode; private string designationname; private int worktypeid = -1; private string worktypecode; private string worktypename; private int payperiodid; //Id private string payperiodcode; //Code private string payperiodname; //Name private double addonfield; #endregion #endregion #region PublicMembers #region OverTime public double AddonField { get { return addonfield; } set { addonfield = value; } } public int OverTimeId { get { return overtimeid; } //Id set { overtimeid = value; } //Id } public int OverTimeDetailId { get { return overtimedetailid; } //Id set { overtimedetailid = value; } //Id } public string OverTimeOverTimeNumber { get { return overtimeovertimenumber; } //OverTimeNumber set { overtimeovertimenumber = value; } //OverTimeNumber } //public DateTime OverTimeForTheDate //{ // get { return overtimeforthedate; } //ForTheDate // set { overtimeforthedate = value; } //ForTheDate //} public string OverTimeRemarks { get { return overtimeremarks; } //Remarks set { overtimeremarks = value; } //Remarks } public double OverTimeDetailDuration { get { return overtimedetailduration; } //Duration set { overtimedetailduration = value; } //Duration } public double OverTimeDetailFactor { get { return overtimedetailfactor; } //Factor set { overtimedetailfactor = value; } //Factor } public double OverTimeDetailFactorHrs { get { return overtimedetailfactorhrs; } //FactorHrs set { overtimedetailfactorhrs = value; } //FactorHrs } #region OverTimeDetail public int EmployeeId { get { return employeeid; } //Id set { employeeid = value; } //Id } public string EmployeeCode { get { return employeecode; } //Code set { employeecode = value; } //Code } public string EmployeeName { get { return employeename; } //Name set { employeename = value; } //Name } #endregion public int DepartmentId { get { return departmentid; } //Id set { departmentid = value; } //Id } public string DepartmentName { get { return departmentname; } //Name set { departmentname = value; } //Name } public int DesignationId { get { return designationid; } //Id set { designationid = value; } //Id } public string DesignationCode { get { return designationcode; } //Code set { designationcode = value; } //Code } public string DesignationName { get { return designationname; } //Name set { designationname = value; } //Name } public int WorkTypeId { get { return worktypeid; } //Id set { worktypeid = value; } //Id } public string WorkTypeCode { get { return worktypecode; } //Code set { worktypecode = value; } //Code } public string WorkTypeName { get { return worktypename; } //Name set { worktypename = value; } //Name } public int PayPeriodId { get { return payperiodid; } //Id set { payperiodid = value; } } public string PayPeriodCode { get { return payperiodcode; } //Code set { payperiodcode = value; } //Code } public string PayPeriodName { get { return payperiodname; } //Name set { payperiodname = value; } //Name } public double OverTimeTotalDuration { get { return overtimetotalduration; } //Factor set { overtimetotalduration = value; } //Factor } public double OverTimeTotalFactorHrs { get { return overtimetotalfactorhrs; } //Factor set { overtimetotalfactorhrs = value; } //Factor } public string OverTimeCalDuration { get { return overtimecalduration; } //OutTime set { overtimecalduration = value; } //OutTime } public string OverTimeCalFactorHrs { get { return overtimecalfactorhrs; } //OutTime set { overtimecalfactorhrs = value; } //OutTime } public double OverTimeTotalActualOTHours { get { return overtimetotalactualothours; } set { overtimetotalactualothours = value; } } public string OverTimeCalTotalActualOTHours { get { return overtimecaltotalactualothours; } set { overtimecaltotalactualothours = value; } } #endregion #endregion } }