using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.TimeSlip { public class TimeSlipReportDTO { #region PrivateMembers #region TimeSlip private int timeslipid; #endregion private string timeslipnumber; //TimeSlipNumber private DateTime timeslipdate; //TimeSlipDate #region Employee private int employeeid; //Id private string employeecode; //Code private string employeename; //Name private string adminreportingtocode; private string adminreportingtoname; private string fnreportingtocode; private string fnreportingtoname; private int status; #endregion #region Department private int departmentid; //Id private string departmentcode; //Code private string departmentname; //Name #endregion #region Shift private int shiftid; //Id private string shiftcode; //Code private string shiftdescription; //Name #endregion private byte timesliptype; private Int16 timesliptimeslipendtime; private Int16 timesliptimeslipstarttime; private Int16 timeslipduration; //Duration private string timeslipreason; //Reason private string timesliptimeslipcalendtime; private string timesliptimeslipcalstarttime; private string timeslipcalduration; private string timeslipondutylocation; #region BizTransactionType private int biztransactiontypeid; //Id private string biztransactiontypecode; //Code private string biztransactiontypename; //Name #endregion #region ApprovedBy private int approvedbyid; //Id private string approvedbycode; //Code private string approvedbyname; //Name #endregion private DateTime timeslipattendancedate; private string oucode; private string ouname; #endregion #region PublicMembers #region TimeSlip public int TimeSlipId { get { return timeslipid; } //Id set { timeslipid = value; } //Id } public string TimeSlipNumber { get { return timeslipnumber; } //Number set { timeslipnumber = value; } //Number } public DateTime TimeSlipDate { get { return timeslipdate; } //Date set { timeslipdate = value; } //Date } #region Employee 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 } public string AdminReportingtoCode { get { return adminreportingtocode; } set { adminreportingtocode = value; } } public string AdminReportingtoName { get { return adminreportingtoname; } set { adminreportingtoname = value; } } public string FnReportingtoCode { get { return fnreportingtocode; } set { fnreportingtocode = value; } } public string FnReportingtoName { get { return fnreportingtoname; } set { fnreportingtoname = value; } } public int Status { get { return status; } set { status = value; } } #endregion #region ApprovedBy public int ApprovedById { get { return approvedbyid; } //Id set { approvedbyid = value; } //Id } public string ApprovedByCode { get { return approvedbycode; } //Code set { approvedbycode = value; } //Code } public string ApprovedByName { get { return approvedbyname; } //Description set { approvedbyname = value; } //Description } #endregion #region Depaqrtment public int DepartmentId { get { return departmentid; } //Id set { departmentid = value; } //Id } public string DepartmentCode { get { return departmentcode; } //Code set { departmentcode = value; } //Code } public string DepartmentName { get { return departmentname; } //Description set { departmentname = value; } //Description } #endregion public DateTime TimeSlipAttendanceDate { get { return timeslipattendancedate; } //AttendanceDate set { timeslipattendancedate = value; } //AttendanceDate } #region Shift public int ShiftId { get { return shiftid; } //Id set { shiftid = value; } //Id } public string ShiftCode { get { return shiftcode; } //Code set { shiftcode = value; } //Code } public string ShiftDescription { get { return shiftdescription; } //Description set { shiftdescription = value; } //Description } #endregion public byte TimeSlipType { get { return timesliptype; } //Type set { timesliptype = value; } //Type } public Int16 TimeSlipDuration { get { return timeslipduration; } //Duration set { timeslipduration = value; } //Duration } public string TimeSlipReason { get { return timeslipreason; } //Reason set { timeslipreason = value; } //Reason } public string TimeSlipOnDutyLocation { get { return timeslipondutylocation; } //Reason set { timeslipondutylocation = value; } //Reason } public Int16 TimeSlipTimeSlipEndTime { get { return timesliptimeslipendtime; } //Duration set { timesliptimeslipendtime = value; } //Duration } public Int16 TimeSlipTimeSlipStartTime { get { return timesliptimeslipstarttime; } //Duration set { timesliptimeslipstarttime = value; } //Duration } public string TimeSlipTimeSlipCalEndTime { get { return timesliptimeslipcalendtime; } //Duration set { timesliptimeslipcalendtime = value; } //Duration } public string TimeSlipTimeSlipCalStartTime { get { return timesliptimeslipcalstarttime; } //Duration set { timesliptimeslipcalstarttime = value; } //Duration } public string TimeSlipCalDuration { get { return timeslipcalduration; } //Duration set { timeslipcalduration = value; } //Duration } private Double timeslipdurationhour; public Double TimeSlipDurationHour { get { return timeslipdurationhour; } //Duration set { timeslipdurationhour = value; } //Duration } #endregion #region BizTransactionType public int BIZTransactionTypeId { get { return biztransactiontypeid; } //Id set { biztransactiontypeid = value; } //Id } public string BIZTransactionTypeCode { get { return biztransactiontypecode; } //Code set { biztransactiontypecode = value; } //Code } public string BIZTransactionTypeName { get { return biztransactiontypename; } //Name set { biztransactiontypename = value; } //Name } #endregion private int totalnumberofpermission; private string totalpermssion; public int TotalNumberofPermission { get { return totalnumberofpermission; } //TotalNumberofPermission set { totalnumberofpermission = value; } //TotalNumberofPermission } public string TotalPermission { get { return totalpermssion; } //TotalPermission set { totalpermssion = value; } //TotalPermission } public string OUCode { get { return oucode; } //Reason set { oucode = value; } //Reason } public string OUName { get { return ouname; } //Reason set { ouname = value; } //Reason } #endregion } }