using Core.Mes.Client.Comm.Attribute; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace Core.StlMes.Client.SaleOrder { /// /// 数据库表SLM_BASE_MATERIAL_H_PL所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/) /// 作者:tgcx-test 时间:2016-10-31 /// public class SlmBaseMaterialHPlEntity { /// /// 投入物料编码 /// private string inMaterialNo = ""; /// /// 投入物料描述 /// private string inMaterialDesc = ""; /// /// 产出物料编码 /// private string outMaterialNo = ""; /// /// 产出物料描述 /// private string outMaterialDesc = ""; /// /// 产线代码 /// private string plineCode = ""; /// /// 产线描述 /// private string plineName = ""; /// /// 小时能力(t/h) /// private decimal? hrCapcty = null; /// /// 成材率(%) /// private decimal? prdRate = null; /// /// 优先级 /// private decimal? plineLevel = null; /// /// 万只废品数 /// private decimal? wasteRate = null; /// /// 创建人 /// private string createName = ""; /// /// 创建时间 /// private string createTime = ""; /// /// 修改人 /// private string updateName = ""; /// /// 修改时间 /// private string updateTime = ""; /// /// 删除人 /// private string deleteName = ""; /// /// 删除时间 /// private string deleteTime = ""; /// /// 禁用标识 /// private string disableFl = ""; /// /// 加工成本 /// private decimal? processingCost = null; /// /// 完全成本 /// private decimal? totalCost = null; /// /// 投入物料编码 /// [Description("投入物料编码")] [Nullable(false)] [DataLength(30)] [JsonProperty("inMaterialNo")] public string InMaterialNo { get { return inMaterialNo; } set { inMaterialNo = value; } } /// /// 投入物料描述 /// [Description("投入物料描述")] [Nullable(true)] [DataLength(100)] [JsonProperty("inMaterialDesc")] public string InMaterialDesc { get { return inMaterialDesc; } set { inMaterialDesc = value; } } /// /// 产出物料编码 /// [Description("产出物料编码")] [Nullable(false)] [DataLength(30)] [JsonProperty("outMaterialNo")] public string OutMaterialNo { get { return outMaterialNo; } set { outMaterialNo = value; } } /// /// 产出物料描述 /// [Description("产出物料描述")] [Nullable(true)] [DataLength(100)] [JsonProperty("outMaterialDesc")] public string OutMaterialDesc { get { return outMaterialDesc; } set { outMaterialDesc = value; } } /// /// 产线代码 /// [Description("产线代码")] [Nullable(false)] [DataLength(20)] [JsonProperty("plineCode")] public string PlineCode { get { return plineCode; } set { plineCode = value; } } /// /// 产线描述 /// [Description("产线描述")] [Nullable(false)] [DataLength(100)] [JsonProperty("plineName")] public string PlineName { get { return plineName; } set { plineName = value; } } /// /// 小时能力(t/h) /// [Description("小时能力(t/h)")] [Nullable(true)] [DataLength(8)] [JsonProperty("hrCapcty")] public decimal? HrCapcty { get { return hrCapcty; } set { hrCapcty = value; } } /// /// 成材率(%) /// [Description("成材率(%)")] [Nullable(true)] [DataLength(4)] [JsonProperty("prdRate")] public decimal? PrdRate { get { return prdRate; } set { prdRate = value; } } /// /// 优先级 /// [Description("优先级")] [Nullable(true)] [DataLength(22)] [JsonProperty("plineLevel")] public decimal? PlineLevel { get { return plineLevel; } set { plineLevel = value; } } /// /// 万只废品数 /// [Description("万只废品数")] [Nullable(true)] [DataLength(22)] [JsonProperty("wasteRate")] public decimal? WasteRate { get { return wasteRate; } set { wasteRate = value; } } /// /// 创建人 /// [Description("创建人")] [Nullable(true)] [DataLength(20)] [JsonProperty("createName")] public string CreateName { get { return createName; } set { createName = value; } } /// /// 创建时间 /// [Description("创建时间")] [Nullable(true)] [JsonProperty("createTime")] public string CreateTime { get { return createTime; } set { createTime = value; } } /// /// 修改人 /// [Description("修改人")] [Nullable(true)] [DataLength(20)] [JsonProperty("updateName")] public string UpdateName { get { return updateName; } set { updateName = value; } } /// /// 修改时间 /// [Description("修改时间")] [Nullable(true)] [JsonProperty("updateTime")] public string UpdateTime { get { return updateTime; } set { updateTime = value; } } /// /// 删除人 /// [Description("删除人")] [Nullable(true)] [DataLength(20)] [JsonProperty("deleteName")] public string DeleteName { get { return deleteName; } set { deleteName = value; } } /// /// 删除时间 /// [Description("删除时间")] [Nullable(true)] [JsonProperty("deleteTime")] public string DeleteTime { get { return deleteTime; } set { deleteTime = value; } } /// /// 禁用标识 /// [Description("禁用标识")] [Nullable(true)] [DataLength(1)] [JsonProperty("disableFl")] public string DisableFl { get { return disableFl; } set { disableFl = value; } } /// /// 加工成本 /// [Description("加工成本")] [Nullable(true)] [DataLength(9)] [JsonProperty("processingCost")] public decimal? ProcessingCost { get { return processingCost; } set { processingCost = value; } } /// /// 完全成本 /// [Description("完全成本")] [Nullable(true)] [DataLength(9)] [JsonProperty("totalCost")] public decimal? TotalCost { get { return totalCost; } set { totalCost = value; } } } }