using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Production { public class ProductionResourceDTO { #region PrivateMembers #region Production private int productionresourceid; //Id #region Production private int productionid = -1; //Id private string productionnumber; //Number private DateTime productionreferencedate; //ReferenceDate private string productionreferencenumber; //ReferenceNumber #endregion #region Production private int productiondetailid = -1; //Id #endregion #region Production private int productionprocessid = -1; //Id #endregion #region Production private int productionoperationid = -1; //Id #endregion //Nature private Int16 productionresourceslno; //SlNo private int resourceid = -1; //Resource private string resourcecode; private string resourcename; #region ResourceType private int resourcetypeid = -1; //Id private string resourcetypecode; private string resourcetypename; private int resourcetypeemployeetypeid; private int resourcetypemachinetypeid; private byte resourcetyperesourcenature; #endregion #region Employee private int employeeid = -1; //Id private string employeecode; //Code private string employeename; //Name #endregion #region Machine private int machineid = -1; //Id private string machinecode; //Code private string machinename; //Name #endregion private Int32 productionresourceduration; //Duration private DateTime productionresourcestartdate; //StartDate private Int16 productionresourcestarttime; //StartTime private string productionresourcecalstarttime; private DateTime productionresourceenddate; //EndDate private Int16 productionresourceendtime; //EndTime private string productionresourcecalendtime; private double productionresourcequantity; //Quantity #region UOM private int uomid = -1; //Id private string uomcode; //Code private string uomname; //Name #endregion #endregion private List productionstoppagearray = new List(); #endregion #region PublicMembers #region Production public int ProductionResourceId { get { return productionresourceid; } //Id set { productionresourceid = value; } //Id } #region Production public int ProductionId { get { return productionid; } //Id set { productionid = value; } //Id } public string ProductionNumber { get { return productionnumber; } //Number set { productionnumber = value; } //Number } public DateTime ProductionReferenceDate { get { return productionreferencedate; } //ReferenceDate set { productionreferencedate = value; } //ReferenceDate } public string ProductionReferenceNumber { get { return productionreferencenumber; } //ReferenceNumber set { productionreferencenumber = value; } //ReferenceNumber } #endregion public int ProductionDetailId { get { return productiondetailid; } //Id set { productiondetailid = value; } //Id } #region Production public int ProductionProcessId { get { return productionprocessid; } //Id set { productionprocessid = value; } //Id } #endregion #region Production public int ProductionOperationId { get { return productionoperationid; } //Id set { productionoperationid = value; } //Id } #endregion public Int16 ProductionResourceSlNo { get { return productionresourceslno; } //SlNo set { productionresourceslno = value; } //SlNo } public int ResourceId { get { return resourceid; } //Resource set { resourceid = value; } //Resource } public string ResourceCode { get { return resourcecode; } //Resource set { resourcecode = value; } //Resource } public string ResourceName { get { return resourcename; } //Resource set { resourcename = value; } //Resource } #region ResourceType public int ResourceTypeId { get { return resourcetypeid; } //Id set { resourcetypeid = value; } //Id } public string ResourceTypeCode { get { return resourcetypecode; } //Id set { resourcetypecode = value; } //Id } public string ResourceTypeName { get { return resourcetypename; } //Id set { resourcetypename = value; } //Id } public int ResourceTypeEmployeeTypeId { get { return resourcetypeemployeetypeid; } //Id set { resourcetypeemployeetypeid = value; } //Id } public int ResourceTypeMachineTypeId { get { return resourcetypemachinetypeid; } //Id set { resourcetypemachinetypeid = value; } //Id } public byte ResourceTypeResourceNature { get { return resourcetyperesourcenature; } //Id set { resourcetyperesourcenature = value; } //Id } #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 public Int32 ProductionResourceDuration { get { return productionresourceduration; } //Duration set { productionresourceduration = value; } //Duration } public DateTime ProductionResourceStartDate { get { return productionresourcestartdate; } //StartDate set { productionresourcestartdate = value; } //StartDate } public Int16 ProductionResourceStartTime { get { return productionresourcestarttime; } //StartTime set { productionresourcestarttime = value; } //StartTime } public string ProductionResourceCalStartTime { get { return productionresourcecalstarttime; } //StartTime set { productionresourcecalstarttime = value; } //StartTime } public DateTime ProductionResourceEndDate { get { return productionresourceenddate; } //EndDate set { productionresourceenddate = value; } //EndDate } public Int16 ProductionResourceEndTime { get { return productionresourceendtime; } //EndTime set { productionresourceendtime = value; } //EndTime } public string ProductionResourceCalEndTime { get { return productionresourcecalendtime; } //EndTime set { productionresourcecalendtime = value; } //EndTime } public double ProductionResourceQuantity { get { return productionresourcequantity; } //Quantity set { productionresourcequantity = value; } //Quantity } #region UOM public int UOMId { get { return uomid; } //Id set { uomid = value; } //Id } public string UOMCode { get { return uomcode; } //Code set { uomcode = value; } //Code } public string UOMName { get { return uomname; } //Name set { uomname = value; } //Name } #endregion #endregion public List ProductionStoppageArray { get { return productionstoppagearray; } set { productionstoppagearray = value; } } private decimal productionresourcemachinespeed; public virtual decimal ProductionResourceMachineSpeed { get { return productionresourcemachinespeed; } //MachineSpeed set { productionresourcemachinespeed = value; } //MachineSpeed } #endregion } }