using Core.Mes.Client.Comm.Attribute; using System; using System.ComponentModel; namespace Core.StlMes.Client.Judge.Models { /// /// 数据库表PLN_ORDER_ZG所对应的实体类(生成工具:代码生成工具3.0) /// 作者:Chenxi-PC2 时间:2016-04-06 /// public class PlnOrderZgEntity { /// /// 轧管合同编号 /// private string proOrderNo = ""; /// /// 排产联动组号 /// private string planGroupId = ""; /// /// 合同来源(销售合同、备料需求、补量需求) /// private string orderSource = ""; /// /// 交货编码PK /// private string ordLnDlyPk = ""; /// /// 排产流水号 /// private string plnDivideId = ""; /// /// 合同号 /// private string orderNo = ""; /// /// 合同行号 /// private string orderSeq = ""; /// /// 交货编码 /// private string deliveryNo = ""; /// /// 备料需求号 /// private string reqBlId = ""; /// /// 制程索引号 /// private string indexSeq = ""; /// /// BOM /// private string bom = ""; /// /// 全程工序顺序号(COM_MSC_PROCESS) /// private decimal? backlogSeq = null; /// /// 钢级(牌号)代码 /// private string steelcode = ""; /// /// 钢级(牌号)名称 /// private string steelname = ""; /// /// 外径 /// private decimal? outdiameter = null; /// /// 壁厚 /// private decimal? wallthick = null; /// /// 控制壁厚 /// private decimal? aimwallthick = null; /// /// 最大长度 /// private decimal? lengthmax = null; /// /// 最小长度 /// private decimal? lengthmin = null; /// /// 控制长度 /// private decimal? aimlength = null; /// /// 工序产出物料编码 /// private string outwlId = ""; /// /// 轧制长度 /// private decimal? rollLength = null; /// /// 产出长度 /// private decimal? outLength = null; /// /// 单坯产出支数 /// private decimal? outnumSingle = null; /// /// 管坯直径 /// private decimal? diameterGp = null; /// /// 管坯长度 /// private decimal? lengthGp = null; /// /// 投入管坯编码 /// private string inwlGp = ""; /// /// 管坯单重 /// private decimal? weightGpOne = null; /// /// 成材率 /// private decimal? getrate = null; /// /// 可选产线编码 /// private string plineCodeMay = ""; /// /// 可选产线描述 /// private string plineNameMay = ""; /// /// 轧管产线代码 /// private string plineCode = ""; /// /// 轧管产线描述 /// private string plineName = ""; /// /// 合同重量 /// private decimal? orderweight = null; /// /// 合同支数 /// private decimal? ordernum = null; /// /// 利库量 /// private decimal? matchWt = null; /// /// 利库支数 /// private decimal? matchNum = null; /// /// 有无外购计划 /// private string ifbuyplan = ""; /// /// 外购计划号 /// private string buyplanid = ""; /// /// 外购计划量 /// private decimal? buyplanWt = null; /// /// 待生产量(订单量-利库-外购) /// private decimal? reqProdWt = null; /// /// 待生产支数 /// private decimal? reqProdNum = null; /// /// 最晚完成日期 /// private string prodEndDate = ""; /// /// 工序合同状态(1计划,2排产,3生产中,4生产完成,5合同关闭,6合同取消,9封闭) /// private string orderstatus = ""; /// /// 是否已排工序订单 /// private decimal? isPlaned = null; /// /// 轧管订单编号 /// private string proPlanId = ""; /// /// 生产完成重量 /// private decimal? finishweight = null; /// /// 是否末端工序 /// private string isendgx = ""; /// /// 下一工序 /// private string nextGx = ""; /// /// 是否工序补量合同(末工序不能为1) /// private string isExtraOrd = ""; /// /// 是否轧管监制 /// private string ifMonitorZg = ""; /// /// 监制编号 /// private string prdcrNo = ""; /// /// 工艺文件号 /// private string craftFileNo = ""; /// /// 工艺文件责任人 /// private string craftFileMan = ""; /// /// 创建人 /// private string createName = ""; /// /// 创建时间 /// private string createTime = ""; /// /// 修改人 /// private string updateName = ""; /// /// 修改时间 /// private string updateTime = ""; /// /// 工艺序号 /// private decimal? craftSeq = null; /// /// 孔型代码(4007) /// private string passCode = ""; /// /// 孔型描述 /// private string passName = ""; /// /// 去向(A轧制成品B轧制半成品C镦拔扩及热处理) /// private string goType = ""; /// /// 二级工序代码 /// private string processCodeC = ""; /// /// 二级工序名称(工序状态:轧态、控轧、常化、离线) /// private string processDescC = ""; /// /// 本工序点路径 /// private string stationRoad = ""; /// /// 工艺文件版本号 /// private string craftNoV = ""; /// /// 客户名称 /// private string buyerName = ""; /// /// 最终用户描述 /// private string finalUserDesc = ""; /// /// 合同附加要求描述((喷标、质保书、包装要求、保护帽、丝扣油等) /// private string orderAddDesc = ""; /// /// 轧管合同编号 /// [Description("轧管合同编号")] [Nullable(false)] [DataLength(20)] public string ProOrderNo { get { return proOrderNo; } set { proOrderNo = value; } } /// /// 排产联动组号 /// [Description("排产联动组号")] [Nullable(true)] [DataLength(40)] public string PlanGroupId { get { return planGroupId; } set { planGroupId = value; } } /// /// 合同来源(销售合同、备料需求、补量需求) /// [Description("合同来源")] [Nullable(true)] [DataLength(20)] public string OrderSource { get { return orderSource; } set { orderSource = value; } } /// /// 交货编码PK /// [Description("交货编码PK")] [Nullable(false)] [DataLength(40)] public string OrdLnDlyPk { get { return ordLnDlyPk; } set { ordLnDlyPk = value; } } /// /// 排产流水号 /// [Description("排产流水号")] [Nullable(false)] [DataLength(10)] public string PlnDivideId { get { return plnDivideId; } set { plnDivideId = value; } } /// /// 合同号 /// [Description("合同号")] [Nullable(true)] [DataLength(20)] public string OrderNo { get { return orderNo; } set { orderNo = value; } } /// /// 合同行号 /// [Description("合同行号")] [Nullable(true)] [DataLength(3)] public string OrderSeq { get { return orderSeq; } set { orderSeq = value; } } /// /// 交货编码 /// [Description("交货编码")] [Nullable(true)] [DataLength(3)] public string DeliveryNo { get { return deliveryNo; } set { deliveryNo = value; } } /// /// 备料需求号 /// [Description("备料需求号")] [Nullable(true)] [DataLength(20)] public string ReqBlId { get { return reqBlId; } set { reqBlId = value; } } /// /// 制程索引号 /// [Description("制程索引号")] [Nullable(true)] [DataLength(32)] public string IndexSeq { get { return indexSeq; } set { indexSeq = value; } } /// /// BOM /// [Description("BOM")] [Nullable(true)] [DataLength(40)] public string Bom { get { return bom; } set { bom = value; } } /// /// 全程工序顺序号(COM_MSC_PROCESS) /// [Description("全程工序顺序号")] [Nullable(true)] [DataLength(22)] public decimal? BacklogSeq { get { return backlogSeq; } set { backlogSeq = value; } } /// /// 钢级(牌号)代码 /// [Description("钢级(牌号)")] [Nullable(true)] [DataLength(10)] public string Steelcode { get { return steelcode; } set { steelcode = value; } } /// /// 钢级(牌号)名称 /// [Description("钢级(牌号)")] [Nullable(true)] [DataLength(100)] public string Steelname { get { return steelname; } set { steelname = value; } } /// /// 外径 /// [Description("外径")] [Nullable(true)] [DataLength(10)] public decimal? Outdiameter { get { return outdiameter; } set { outdiameter = value; } } /// /// 壁厚 /// [Description("壁厚")] [Nullable(true)] [DataLength(10)] public decimal? Wallthick { get { return wallthick; } set { wallthick = value; } } /// /// 控制壁厚 /// [Description("控制壁厚")] [Nullable(true)] [DataLength(10)] public decimal? Aimwallthick { get { return aimwallthick; } set { aimwallthick = value; } } /// /// 最大长度 /// [Description("最大长度")] [Nullable(true)] [DataLength(10)] public decimal? Lengthmax { get { return lengthmax; } set { lengthmax = value; } } /// /// 最小长度 /// [Description("最小长度")] [Nullable(true)] [DataLength(10)] public decimal? Lengthmin { get { return lengthmin; } set { lengthmin = value; } } /// /// 控制长度 /// [Description("控制长度")] [Nullable(true)] [DataLength(10)] public decimal? Aimlength { get { return aimlength; } set { aimlength = value; } } /// /// 工序产出物料编码 /// [Description("工序产出物料")] [Nullable(true)] [DataLength(40)] public string OutwlId { get { return outwlId; } set { outwlId = value; } } /// /// 轧制长度 /// [Description("轧制长度")] [Nullable(true)] [DataLength(10)] public decimal? RollLength { get { return rollLength; } set { rollLength = value; } } /// /// 产出长度 /// [Description("产出长度")] [Nullable(true)] [DataLength(10)] public decimal? OutLength { get { return outLength; } set { outLength = value; } } /// /// 单坯产出支数 /// [Description("单坯产出支数")] [Nullable(true)] [DataLength(10)] public decimal? OutnumSingle { get { return outnumSingle; } set { outnumSingle = value; } } /// /// 管坯直径 /// [Description("管坯直径")] [Nullable(true)] [DataLength(10)] public decimal? DiameterGp { get { return diameterGp; } set { diameterGp = value; } } /// /// 管坯长度 /// [Description("管坯长度")] [Nullable(true)] [DataLength(10)] public decimal? LengthGp { get { return lengthGp; } set { lengthGp = value; } } /// /// 投入管坯编码 /// [Description("投入管坯")] [Nullable(true)] [DataLength(40)] public string InwlGp { get { return inwlGp; } set { inwlGp = value; } } /// /// 管坯单重 /// [Description("管坯单重")] [Nullable(true)] [DataLength(10)] public decimal? WeightGpOne { get { return weightGpOne; } set { weightGpOne = value; } } /// /// 成材率 /// [Description("成材率")] [Nullable(true)] [DataLength(10)] public decimal? Getrate { get { return getrate; } set { getrate = value; } } /// /// 可选产线编码 /// [Description("可选产线")] [Nullable(true)] [DataLength(100)] public string PlineCodeMay { get { return plineCodeMay; } set { plineCodeMay = value; } } /// /// 可选产线描述 /// [Description("可选产线")] [Nullable(true)] [DataLength(400)] public string PlineNameMay { get { return plineNameMay; } set { plineNameMay = value; } } /// /// 轧管产线代码 /// [Description("轧管产线")] [Nullable(true)] [DataLength(20)] public string PlineCode { get { return plineCode; } set { plineCode = value; } } /// /// 轧管产线描述 /// [Description("轧管产线")] [Nullable(true)] [DataLength(100)] public string PlineName { get { return plineName; } set { plineName = value; } } /// /// 合同重量 /// [Description("合同重量")] [Nullable(true)] [DataLength(10)] public decimal? Orderweight { get { return orderweight; } set { orderweight = value; } } /// /// 合同支数 /// [Description("合同支数")] [Nullable(true)] [DataLength(10)] public decimal? Ordernum { get { return ordernum; } set { ordernum = value; } } /// /// 利库量 /// [Description("利库量")] [Nullable(true)] [DataLength(10)] public decimal? MatchWt { get { return matchWt; } set { matchWt = value; } } /// /// 利库支数 /// [Description("利库支数")] [Nullable(true)] [DataLength(10)] public decimal? MatchNum { get { return matchNum; } set { matchNum = value; } } /// /// 有无外购计划 /// [Description("有无外购计划")] [Nullable(true)] [DataLength(1)] public string Ifbuyplan { get { return ifbuyplan; } set { ifbuyplan = value; } } /// /// 外购计划号 /// [Description("外购计划号")] [Nullable(true)] [DataLength(20)] public string Buyplanid { get { return buyplanid; } set { buyplanid = value; } } /// /// 外购计划量 /// [Description("外购计划量")] [Nullable(true)] [DataLength(10)] public decimal? BuyplanWt { get { return buyplanWt; } set { buyplanWt = value; } } /// /// 待生产量(订单量-利库-外购) /// [Description("待生产量")] [Nullable(true)] [DataLength(10)] public decimal? ReqProdWt { get { return reqProdWt; } set { reqProdWt = value; } } /// /// 待生产支数 /// [Description("待生产支数")] [Nullable(true)] [DataLength(10)] public decimal? ReqProdNum { get { return reqProdNum; } set { reqProdNum = value; } } /// /// 最晚完成日期 /// [Description("最晚完成日期")] [Nullable(true)] public string ProdEndDate { get { return prodEndDate; } set { prodEndDate = value; } } /// /// 工序合同状态(1计划,2排产,3生产中,4生产完成,5合同关闭,6合同取消,9封闭) /// [Description("工序合同状态")] [Nullable(true)] [DataLength(20)] public string Orderstatus { get { return orderstatus; } set { orderstatus = value; } } /// /// 是否已排工序订单 /// [Description("是否已排工序订单")] [Nullable(true)] [DataLength(10)] public decimal? IsPlaned { get { return isPlaned; } set { isPlaned = value; } } /// /// 轧管订单编号 /// [Description("轧管订单编号")] [Nullable(true)] [DataLength(20)] public string ProPlanId { get { return proPlanId; } set { proPlanId = value; } } /// /// 生产完成重量 /// [Description("生产完成重量")] [Nullable(true)] [DataLength(10)] public decimal? Finishweight { get { return finishweight; } set { finishweight = value; } } /// /// 是否末端工序 /// [Description("是否末端工序")] [Nullable(true)] [DataLength(1)] public string Isendgx { get { return isendgx; } set { isendgx = value; } } /// /// 下一工序 /// [Description("下一工序")] [Nullable(true)] [DataLength(20)] public string NextGx { get { return nextGx; } set { nextGx = value; } } /// /// 是否工序补量合同(末工序不能为1) /// [Description("是否工序补量合同")] [Nullable(true)] [DataLength(1)] public string IsExtraOrd { get { return isExtraOrd; } set { isExtraOrd = value; } } /// /// 是否轧管监制 /// [Description("是否轧管监制")] [Nullable(true)] [DataLength(1)] public string IfMonitorZg { get { return ifMonitorZg; } set { ifMonitorZg = value; } } /// /// 监制编号 /// [Description("监制编号")] [Nullable(true)] [DataLength(40)] public string PrdcrNo { get { return prdcrNo; } set { prdcrNo = value; } } /// /// 工艺文件号 /// [Description("工艺文件号")] [Nullable(true)] [DataLength(40)] public string CraftFileNo { get { return craftFileNo; } set { craftFileNo = value; } } /// /// 工艺文件责任人 /// [Description("工艺文件责任人")] [Nullable(true)] [DataLength(20)] public string CraftFileMan { get { return craftFileMan; } set { craftFileMan = value; } } /// /// 创建人 /// [Description("创建人")] [Nullable(true)] [DataLength(20)] public string CreateName { get { return createName; } set { createName = value; } } /// /// 创建时间 /// [Description("创建时间")] [Nullable(true)] public string CreateTime { get { return createTime; } set { createTime = value; } } /// /// 修改人 /// [Description("修改人")] [Nullable(true)] [DataLength(20)] public string UpdateName { get { return updateName; } set { updateName = value; } } /// /// 修改时间 /// [Description("修改时间")] [Nullable(true)] public string UpdateTime { get { return updateTime; } set { updateTime = value; } } /// /// 工艺序号 /// [Description("工艺序号")] [Nullable(true)] [DataLength(5)] public decimal? CraftSeq { get { return craftSeq; } set { craftSeq = value; } } /// /// 孔型代码(4007) /// [Description("孔型代码(4007)")] [Nullable(true)] [DataLength(20)] public string PassCode { get { return passCode; } set { passCode = value; } } /// /// 孔型描述 /// [Description("孔型描述")] [Nullable(true)] [DataLength(100)] public string PassName { get { return passName; } set { passName = value; } } /// /// 去向(A轧制成品B轧制半成品C镦拔扩及热处理) /// [Description("去向")] [Nullable(true)] [DataLength(10)] public string GoType { get { return goType; } set { goType = value; } } /// /// 二级工序代码 /// [Description("二级工序")] [Nullable(true)] [DataLength(8)] public string ProcessCodeC { get { return processCodeC; } set { processCodeC = value; } } /// /// 二级工序名称(工序状态:轧态、控轧、常化、离线) /// [Description("二级工序名称")] [Nullable(true)] [DataLength(50)] public string ProcessDescC { get { return processDescC; } set { processDescC = value; } } /// /// 本工序点路径 /// [Description("本工序点路径")] [Nullable(true)] [DataLength(200)] public string StationRoad { get { return stationRoad; } set { stationRoad = value; } } /// /// 工艺文件版本号 /// [Description("工艺文件版本号")] [Nullable(true)] [DataLength(50)] public string CraftNoV { get { return craftNoV; } set { craftNoV = value; } } /// /// 客户名称 /// [Description("客户名称")] [Nullable(true)] [DataLength(100)] public string BuyerName { get { return buyerName; } set { buyerName = value; } } /// /// 最终用户描述 /// [Description("最终用户描述")] [Nullable(true)] [DataLength(100)] public string FinalUserDesc { get { return finalUserDesc; } set { finalUserDesc = value; } } /// /// 合同附加要求描述((喷标、质保书、包装要求、保护帽、丝扣油等) /// [Description("合同附加要求")] [Nullable(true)] [DataLength(4000)] public string OrderAddDesc { get { return orderAddDesc; } set { orderAddDesc = value; } } } }