using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZktecoAttendenceService { class Attendance { private string acNo; private DateTime checkTime; private bool isProcessed; private string machineId; private string inOutTypeId; private string machineIp; private DateTime date; public Attendance() { } public Attendance(string acNo, DateTime checkTime, bool isProcessed, string machineId, string inOutTypeId, string machineIp, DateTime date) { this.AcNo = acNo; this.CheckTime = checkTime; this.IsProcessed = isProcessed; this.MachineId = machineId; this.InOutTypeId = inOutTypeId; this.MachineIp = machineIp; this.Date = date; } public string AcNo { get => acNo; set => acNo = value; } public DateTime CheckTime { get => checkTime; set => checkTime = value; } public bool IsProcessed { get => isProcessed; set => isProcessed = value; } public string MachineId { get => machineId; set => machineId = value; } public string InOutTypeId { get => inOutTypeId; set => inOutTypeId = value; } public string MachineIp { get => machineIp; set => machineIp = value; } public DateTime Date { get => date; set => date = value; } } }