using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.BIllOfResource { public class BillOfResourceDTO { #region PrivateMembers #region BillOfResource private int billofresourceid; //Id private byte billofresourcetype; //Type #region Item private int itemid; //Id private string itemcode; //Code private string itemname; //Name #endregion #region Routing private int routingdetailid; private int routingdetailprocessid; private string routingdetailprocesscode; private string routingdetailprocessname; private Int16 routingdetailroutingversionversion; #endregion #region Routing private int routingoperationid; //Id private int routingoperationoperationid; private string routingoperationoperationcode; private string routingoperationoperationname; #endregion private Int16 billofresourceslno; //SlNo #region BillOfResource private int resourcetypeid; //Id private string resourcetypecode; //Code private string resourcetypename; //Name private int resourcetypeemployeetypeid; //Id private string resourcetypeemployeetypecode; //Code private string resourcetypeemployeetypename; //Name private int resourcetypemachinetypeid; //Id private string resourcetypemachinetypecode; //Code private string resourcetypemachinetypename; //Name private int resourcetypeassettypeid; //Id private string resourcetypeassettypecode; //Code private string resourcetypeassettypename; //Name private byte resourcetyperesourcenature; #endregion private double billofresourcenumberofresources; //NumberOfResource private double billofresourceresourceworkload; //ResourceWorkLoad private double billofresourcetimerequired; //TimeRequired private int billofresourceresourceid; private string billofresourceresourcecode; private string billofresourceresourcename; private int nestingplanid; private string nestingplancode; private int workcenterid; private string workcentercode; private string workcentername; private byte billofresourcetimeuom; private double billofresourcecycletime; private double billofresourcesetuptime; private double billofresourcebatchquantity; private double billofresourcevariablequantity; private Int16 billofresourceversion = 1; private DateTime billofresourcefromdate = DateTime.UtcNow; private DateTime billofresourcetodate = DateTime.UtcNow; #region Activity private int activityid = -1; //Id private string activitycode; //Code private string activityname; //Name #endregion #region AssetActivity private int assetactivityid = -1; //Id private int assetactivityassetid = -1; //Code private string assetactivityassetcode; //Code private string assetactivityassetname; //Code private int assetactivityactivityid = -1; //Code private string assetactivityactivitycode; //Code private string assetactivityactivityname; #endregion #endregion #endregion #region PublicMembers #region BillOfResource public int BillOfResourceId { get { return billofresourceid; } //Id set { billofresourceid = value; } //Id } public byte BillOfResourceType { get { return billofresourcetype; } //Type set { billofresourcetype = value; } //Type } #region Item public int ItemId { get { return itemid; } //Id set { itemid = value; } //Id } public string ItemCode { get { return itemcode; } //Code set { itemcode = value; } //Code } public string ItemName { get { return itemname; } //Name set { itemname = value; } //Name } #endregion #region Routing public int RoutingDetailId { get { return routingdetailid; } //Id set { routingdetailid = value; } //Id } public int RoutingDetailProcessId { get { return routingdetailprocessid; } //Id set { routingdetailprocessid = value; } //Id } public string RoutingDetailProcessCode { get { return routingdetailprocesscode; } //Id set { routingdetailprocesscode = value; } //Id } public string RoutingDetailProcessName { get { return routingdetailprocessname; } //Id set { routingdetailprocessname = value; } //Id } public Int16 RoutingDetailRoutingVersionVersion { get { return routingdetailroutingversionversion; } //Id set { routingdetailroutingversionversion = value; } //Id } #endregion #region Routing public int RoutingOperationId { get { return routingoperationid; } //Id set { routingoperationid = value; } //Id } public int RoutingOperationOperationId { get { return routingoperationoperationid; } //Id set { routingoperationoperationid = value; } //Id } public string RoutingOperationOperationCode { get { return routingoperationoperationcode; } //Id set { routingoperationoperationcode = value; } //Id } public string RoutingOperationOperationName { get { return routingoperationoperationname; } //Id set { routingoperationoperationname = value; } //Id } #endregion public Int16 BillOfResourceSlNo { get { return billofresourceslno; } //SlNo set { billofresourceslno = value; } //SlNo } #region BillOfResource public int ResourceTypeId { get { return resourcetypeid; } //Id set { resourcetypeid = value; } //Id } public string ResourceTypeCode { get { return resourcetypecode; } //Code set { resourcetypecode = value; } //Code } public string ResourceTypeName { get { return resourcetypename; } //Name set { resourcetypename = value; } //Name } public int ResourceTypeEmployeeTypeId { get { return resourcetypeemployeetypeid; } //Id set { resourcetypeemployeetypeid = value; } //Id } public string ResourceTypeEmployeeTypeCode { get { return resourcetypeemployeetypecode; } //Code set { resourcetypeemployeetypecode = value; } //Code } public string ResourceTypeEmployeeTypeName { get { return resourcetypeemployeetypename; } //Name set { resourcetypeemployeetypename = value; } //Name } public int ResourceTypeMachineTypeId { get { return resourcetypemachinetypeid; } //Id set { resourcetypemachinetypeid = value; } //Id } public string ResourceTypeMachineTypeCode { get { return resourcetypemachinetypecode; } //Code set { resourcetypemachinetypecode = value; } //Code } public string ResourceTypeMachineTypeName { get { return resourcetypemachinetypename; } //Name set { resourcetypemachinetypename = value; } //Name } public int ResourceTypeAssetTypeId { get { return resourcetypeassettypeid; } //Id set { resourcetypeassettypeid = value; } //Id } public string ResourceTypeAssetTypeCode { get { return resourcetypeassettypecode; } //Code set { resourcetypeassettypecode = value; } //Code } public string ResourceTypeAssetTypeName { get { return resourcetypeassettypename; } //Name set { resourcetypeassettypename = value; } //Name } public byte ResourceTypeResourceNature { get { return resourcetyperesourcenature; } //Name set { resourcetyperesourcenature = value; } //Name } #endregion public double BillOfResourceNumberOfResources { get { return billofresourcenumberofresources; } //NumberOfResource set { billofresourcenumberofresources = value; } //NumberOfResource } public double BillOfResourceResourceWorkLoad { get { return billofresourceresourceworkload; } //ResourceWorkLoad set { billofresourceresourceworkload = value; } //ResourceWorkLoad } public double BillOfResourceTimeRequired { get { return billofresourcetimerequired; } //TimeRequired set { billofresourcetimerequired = value; } //TimeRequired } public int BillOfResourceResourceId { get { return billofresourceresourceid; } //ResourceId set { billofresourceresourceid = value; } //ResourceId } public string BillOfResourceResourceCode { get { return billofresourceresourcecode; } //ResourceCode set { billofresourceresourcecode = value; } //ResourceCode } public string BillOfResourceResourceName { get { return billofresourceresourcename; } //ResourceName set { billofresourceresourcename = value; } //ResourceName } public int NestingPlanId { get { return nestingplanid; } //NestingPlanId set { nestingplanid = value; } //NestingPlanId } public string NestingPlanCode { get { return nestingplancode; } //NestingPlanCode set { nestingplancode = value; } //NestingPlanCode } public int WorkCenterId { get { return workcenterid; } //WorkCenterId set { workcenterid = value; } //WorkCenterId } public string WorkCenterCode { get { return workcentercode; } //WorkCenterCode set { workcentercode = value; } //WorkCenterCode } public string WorkCenterName { get { return workcentername; } //WorkCenterName set { workcentername = value; } //WorkCenterName } public byte BillOfResourceTimeUOM { get { return billofresourcetimeuom; } //BillOfResourceTimeUOM set { billofresourcetimeuom = value; } //BillOfResourceTimeUOM } public double BillOfResourceCycleTime { get { return billofresourcecycletime; } //BillOfResourceceCycleTime set { billofresourcecycletime = value; } //BillOfResourceceCycleTime } public double BillOfResourceSetupTime { get { return billofresourcesetuptime; } //BillOfResourceceSetupTime set { billofresourcesetuptime = value; } //BillOfResourceceSetupTime } public double BillOfResourceBatchQuantity { get { return billofresourcebatchquantity; } //BillOfResourceceBatchQuantity set { billofresourcebatchquantity = value; } //BillOfResourceceBatchQuantity } public double BillOfResourceVariableQuantity { get { return billofresourcevariablequantity; } //BillOfResourceceVariableQuantity set { billofresourcevariablequantity = value; } //BillOfResourceceVariableQuantity } public Int16 BillOfResourceVersion { get { return billofresourceversion; } //BillOfResourceVersion set { billofresourceversion = value; } //BillOfResourceVersion } public DateTime BillOfResourceFromDate { get { return billofresourcefromdate; } //BillOfResourceFromDate set { billofresourcefromdate = value; } //BillOfResourceFromDate } public DateTime BillOfResourceToDate { get { return billofresourcetodate; } //BillOfResourceToDate set { billofresourcetodate = value; } //BillOfResourceToDate } public int ActivityId { get { return activityid; } //WorkCenterId set { activityid = value; } //WorkCenterId } public string ActivityCode { get { return activitycode; } //WorkCenterCode set { activitycode = value; } //WorkCenterCode } public string ActivityName { get { return activityname; } //WorkCenterName set { activityname = value; } //WorkCenterName } public int AssetActivityId { get { return assetactivityid; } //WorkCenterId set { assetactivityid = value; } //WorkCenterId } public int AssetActivityActivityId { get { return assetactivityactivityid; } //WorkCenterCode set { assetactivityactivityid = value; } //WorkCenterCode } public string AssetActivityActivityCode { get { return assetactivityactivitycode; } //WorkCenterCode set { assetactivityactivitycode = value; } //WorkCenterCode } public string AssetActivityActivityName { get { return assetactivityactivityname; } //WorkCenterName set { assetactivityactivityname = value; } //WorkCenterName } public int AssetActivityAssetId { get { return assetactivityassetid; } //WorkCenterCode set { assetactivityassetid = value; } //WorkCenterCode } public string AssetActivityAssetCode { get { return assetactivityassetcode; } //WorkCenterCode set { assetactivityassetcode = value; } //WorkCenterCode } public string AssetActivityAssetName { get { return assetactivityassetname; } //WorkCenterName set { assetactivityassetname = value; } //WorkCenterName } #endregion #endregion } }