using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.Punch { public class PunchDTO { #region PrivateMembers #region Punch private int punchid; //Id private string punchcalintime; #region Employee private int employeeid; //Id private string employeecode; //Code private string employeename; //Name #endregion #region Department private int departmentid; //Id private string departmentcode; //Code private string departmentname; //Name #endregion private DateOnly punchattendancedate; //AttendanceDate private DateOnly punchpunchdate; //PunchDate private Int16 punchpunchtime; //PunchTime private byte punchpunchstatus; //PunchStatus private byte[] punchbiometric; private byte punchverificationstatus; private string punchgeocode = ""; private string punchpunchtimeinampm; private string attendancedatestring; private string punchdatestring; private string statusstring; private string mobilenumber; private string mailids; private byte punchpunchtype = 0; private string punchadditionalinformation; private byte punchsitetype = 0; private int punchsiteid = -1; private string punchsitename; private string punchgeolocation; private int deviceid = -1; private string devicecode; private string devicename; #endregion private Int16 punchoriginalpunchtime; private int punchreasonid = -1; private string punchreasoncode; private string punchreasonname; private byte punchrecordtype = 0;//0 Auto 1 Manual 2 Deleted private double punchgeodistance = 0; #endregion #region PublicMembers #region Punch public int PunchId { get { return punchid; } //Id set { punchid = value; } //Id } #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 } #endregion #region Department 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; } //Name set { departmentname = value; } //Name } #endregion public DateOnly PunchAttendanceDate { get { return punchattendancedate; } //AttendanceDate set { punchattendancedate = value; } //AttendanceDate } public DateOnly PunchPunchDate { get { return punchpunchdate; } //PunchDate set { punchpunchdate = value; } //PunchDate } public Int16 PunchPunchTime { get { return punchpunchtime; } //PunchTime set { punchpunchtime = value; } //PunchTime } public byte PunchPunchStatus { get { return punchpunchstatus; } //PunchStatus set { punchpunchstatus = value; } //PunchStatus } public string PunchCalInTime { get { return punchcalintime; } //InTime set { punchcalintime = value; } //InTime } public byte[] PunchBiometric { get { return punchbiometric; } //PunchStatus set { punchbiometric = value; } //PunchStatus } public byte PunchVerificationStatus { get { return punchverificationstatus; } //PunchStatus set { punchverificationstatus = value; } //PunchStatus } public string PunchGeoCode { get { return punchgeocode; } //PunchGeoCode set { punchgeocode = value; } //PunchGeoCode } public string PunchPunchTimeInAMPM { get { return punchpunchtimeinampm; } //punchtime set { punchpunchtimeinampm = value; } //punchtime } public string AttendanceDateString { get { return attendancedatestring; } //AttendanceDateString set { attendancedatestring = value; } //AttendanceDateString } public string PunchDateString { get { return punchdatestring; } //punchdatestring set { punchdatestring = value; } //punchdatestring } public string StatusString { get { return statusstring; } //StatusString set { statusstring = value; } //StatusString } public string MobileNumber { get { return mobilenumber; } //MobileNumber set { mobilenumber = value; } //MobileNumber } public string MailIds { get { return mailids; } //MailIds set { mailids = value; } //MailIds } public byte PunchPunchType { get { return punchpunchtype; } //punchpunchtype set { punchpunchtype = value; } //punchpunchtype } public string PunchAdditionalInformation { get { return punchadditionalinformation; } //PunchAdditionalInformation set { punchadditionalinformation = value; } //PunchAdditionalInformation } public byte PunchSiteType { get { return punchsitetype; } //PunchSiteType set { punchsitetype = value; } //PunchSiteType } public int PunchSiteId { get { return punchsiteid; } //PunchSiteId set { punchsiteid = value; } //PunchSiteId } public string PunchSiteName { get { return punchsitename; } //punchsiteid set { punchsitename = value; } //punchSiteId } public string PunchGeolocation { get { return punchgeolocation; } //PunchGeolocation set { punchgeolocation = value; } //PunchGeolocation } public int DeviceId { get { return deviceid; } //DeviceId set { deviceid = value; } //DeviceId } public string DeviceCode { get { return devicecode; } //DeviceCode set { devicecode = value; } //DeviceCode } public string DeviceName { get { return devicename; } //DeviceName set { devicename = value; } //DeviceName } //private List alfrescoarray = new List(); //public virtual List AlfrescoArray //{ // get { return alfrescoarray; } // set { alfrescoarray = value; } //} private string ouname; public string OuName { get { return ouname; } //devicename set { ouname = value; } //devicename } public Int16 PunchOriginalPunchTime { get { return punchoriginalpunchtime; } //remarks set { punchoriginalpunchtime = value; } //remarks } public int PunchReasonId { get { return punchreasonid; } //remarks set { punchreasonid = value; } //remarks } public string PunchReasonCode { get { return punchreasoncode; } //remarks set { punchreasoncode = value; } //remarks } public string PunchReasonName { get { return punchreasonname; } //remarks set { punchreasonname = value; } //remarks } public byte PunchRecordType { get { return punchrecordtype; } //remarks set { punchrecordtype = value; } //remarks } public double PunchGeoDistance { get { return punchgeodistance; } //PunchGeoDistance set { punchgeodistance = value; } //PunchGeoDistance } private int geofencing = 0; public int GeoFencing { get { return geofencing; } //GeoFencing set { geofencing = value; } //GeoFencing } private int isworkflowapprovalrequired = 1;//0 Yes 1 No public int IsWorkflowApprovalRequired { get { return isworkflowapprovalrequired; } //IsWorkflowApprovalRequired set { isworkflowapprovalrequired = value; } //IsWorkflowApprovalRequired } private string functionreportingtomailid; private string functionreportingtomobilenumber; private string adminreportingtomailid; private string adminreportingtomobilenumber; public string FunctionReportingToMailId { get { return functionreportingtomailid; } //FunctionReportingToMailId set { functionreportingtomailid = value; } //FunctionReportingToMailId } public string FunctionReportingToMobileNumber { get { return functionreportingtomobilenumber; } //FunctionReportingToMobileNumber set { functionreportingtomobilenumber = value; } //FunctionReportingToMobileNumber } public string AdminReportingToMailId { get { return adminreportingtomailid; } //AdminReportingToMailId set { adminreportingtomailid = value; } //AdminReportingToMailId } public string AdminReportingToMobileNumber { get { return adminreportingtomobilenumber; } //AdminReportingToMobileNumber set { adminreportingtomobilenumber = value; } //AdminReportingToMobileNumber } #endregion #endregion } }