using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Production { public class StoppageRegisterDTO //:ReportPaginationDTO-------->DEVADMIN { #region PrivateMembers private string productionnumber; private DateTime productiondate; private DateTime indentdate; private string indentnumber; private DateTime stoppagefromdatetime; //StartDate private DateTime stoppagetodatetime; private decimal stoppageduration; //Duration private int stoppagedurationminute; private DateTime punchindatetime; //StartDate private DateTime punchoutdatetime; private int punchduration; private string remarks; //Remarks private int employeeid; private string employeecode; private string employeename; private int machineid; private string machinecode; private string machinename; private int resourceid; private string resourcecode; private string resourcename; private int reasonid; //Id private string reasoncode; //Code private string reasonname; //Name private string allocationshortname; private string allocationname; private string description; private int reasontypeid; private string itemcode; private string itemname; private int itemid; private int indentid; private int productionid; private decimal totalstoppageduration; private string calltotalstoppageduration; private decimal stoppagesummaryduration = 0; private string callstoppagesummaryduration; public decimal StoppageSummaryDuration { get { return stoppagesummaryduration; } //Duration set { stoppagesummaryduration = value; } //Duration } public string CallStoppageSummaryDuration { get { return callstoppagesummaryduration; } //Duration set { callstoppagesummaryduration = value; } //Duration } public int ReasonTypeId { get { return reasontypeid; } set { reasontypeid = value; } } private string callstoppageduration; #endregion public int ItemId { get { return itemid; } //StartDate set { itemid = value; } //StartDate } public int IndentId { get { return indentid; } //StartDate set { indentid = value; } //StartDate } public int ProductionId { get { return productionid; } //StartDate set { productionid = value; } //StartDate } #region PublicMembers public string ProductionNumber { get { return productionnumber; } //StartDate set { productionnumber = value; } //StartDate } public DateTime ProductionDate { get { return productiondate; } set { productiondate = value; } } public DateTime IndentDate { get { return indentdate; } set { indentdate = value; } } public string IndentNumber { get { return indentnumber; } //StartDate set { indentnumber = value; } //StartDate } public DateTime PunchInDateTime { get { return punchindatetime; } //StartDate set { punchindatetime = value; } //StartDate } public DateTime PunchOutDateTime { get { return punchoutdatetime; } //StartDate set { punchoutdatetime = value; } //StartDate } public int PunchDuration { get { return punchduration; } //Duration set { punchduration = value; } //Duration } #region Reason public int ReasonId { get { return reasonid; } //Id set { reasonid = value; } } public string ReasonCode { get { return reasoncode; } //Code set { reasoncode = value; } } public string ReasonName { get { return reasonname; } //Name set { reasonname = value; } } #endregion #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 Machine public int MachineId { get { return machineid; } //Id set { machineid = value; } //Id } public string MachineCode { get { return machinecode; } //Code set { machinecode = value; } //Code } public string MachineName { get { return machinename; } //Name set { machinename = value; } //Name } #endregion #region Resource public int ResourceId { get { return resourceid; } //Id set { resourceid = value; } //Id } public string ResourceCode { get { return resourcecode; } //Code set { resourcecode = value; } //Code } public string ResourceName { get { return resourcename; } //Name set { resourcename = value; } //Name } #endregion public DateTime StoppageFromDateTime { get { return stoppagefromdatetime; } //StartDate set { stoppagefromdatetime = value; } //StartDate } public DateTime StoppageToDateTime { get { return stoppagetodatetime; } //StartDate set { stoppagetodatetime = value; } //StartDate } public string CallStoppageDuration { get { return callstoppageduration; } //Duration set { callstoppageduration = value; } //Duration } public int StoppageDurationMinute { get { return stoppagedurationminute; } //Duration set { stoppagedurationminute = value; } //Duration } public decimal StoppageDuration { get { return stoppageduration; } //Duration set { stoppageduration = value; } //Duration } public string Remarks { get { return remarks; } set { remarks = value; } } public string AllocationName { get { return allocationname; } set { allocationname = value; } } public string AllocationShortName { get { return allocationshortname; } set { allocationshortname = value; } } public string Description { get { return description; } set { description = value; } } public string ItemCode { get { return itemcode; } set { itemcode = value; } } public string ItemName { get { return itemname; } set { itemname = value; } } public decimal TotalStoppageDuration { get { return totalstoppageduration; } //Duration set { totalstoppageduration = value; } //Duration } public string CallTotalStoppageDuration { get { return calltotalstoppageduration; } //Duration set { calltotalstoppageduration = value; } //Duration } #endregion } }