using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using Core.Mes.Client.Comm.Attribute; namespace Core.StlMes.Client.PlnSaleOrd.Entity { /// /// 数据库表PLN_ORDER_JGX所对应的实体类(生成工具:代码生成工具3.0) /// 作者:DESKTOP-4E32QV0 时间:2016-01-16 /// public class PlnOrderJgxEntity { private string ifSetTime; [Description("拆分状态")] public string IfSetTime { get { return ifSetTime; } set { ifSetTime = value; } } /// /// 合同行PK /// private string ordLnPk = ""; /// /// 工艺序号 /// private string craftSeq = ""; /// /// ORD_LN_PK(ORD_PK+三位流水号) /// [Description("ORD_LN_PK")] [Nullable(false)] [DataLength(40)] public string OrdLnPk { get { return ordLnPk; } set { ordLnPk = value; } } /// /// 工艺序号 /// [Description("工艺序号")] [Nullable(true)] [DataLength(5)] public string CraftSeq { get { return craftSeq; } set { craftSeq = value; } } /// /// 合同行 /// private string orderNoSeq = ""; /// /// 加工线合同编号 /// 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 string lengthdisc = ""; /// /// 目标长度 /// private decimal? aimlength = null; /// /// 扣型代码 /// private string modelCode = ""; /// /// 扣型描述 /// private string modelDesc = ""; /// /// 成材率 /// private decimal? getrate = null; /// /// 原料最大长度 /// private decimal? lengthmaxIn = null; /// /// 原料最小长度 /// private decimal? lengthminIn = null; /// /// 投入物料编码 /// private string inwlId = ""; /// /// 投入物料描述 /// private string inwlDesc = ""; /// /// 产出物料编码 /// private string outwlId = ""; /// /// 产出物料描述 /// private string outwlDesc = ""; /// /// 加工组 /// private string groupJgx = ""; /// /// 可选产线编码 /// private string plineCodeMay = ""; /// /// 可选产线描述 /// private string plineNameMay = ""; /// /// 合同重量 /// 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 string isPlaned = ""; /// /// 加工线订单编号 /// private string proPlanId = ""; /// /// 生产完成重量 /// private decimal? finishweight = null; /// /// 是否末端工序 /// private string isendgx = ""; /// /// 下一工序 /// private string nextGx = ""; /// /// 是否加工线监制 /// private string ifMonitorJgx = ""; /// /// 监制编号 /// private string prdcrNo = ""; /// /// 工艺文件号 /// private string craftFileNo = ""; /// /// 工艺文件责任人 /// private string craftFileMan = ""; /// /// 创建人 /// private string createName = ""; /// /// 创建时间 /// private string createTime = ""; /// /// 修改人 /// private string updateName = ""; /// /// 修改时间 /// private string updateTime = ""; /// /// 默认产线编码 /// private string plineCode = ""; /// /// 默认产线描述 /// private string plineName = ""; /// /// 附加要求 /// private string addAskDesc = ""; /// /// 合同行 /// [Description("合同行")] [Nullable(false)] [DataLength(43)] public string OrderNoSeq { get { return orderNoSeq; } set { orderNoSeq = value; } } /// /// 加工线合同编号 /// [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(false)] [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("外径(mm)")] [Nullable(true)] [DataLength(10)] public decimal? Outdiameter { get { return outdiameter; } set { outdiameter = value; } } /// /// 壁厚 /// [Description("壁厚(mm)")] [Nullable(true)] [DataLength(10)] public decimal? Wallthick { get { return wallthick; } set { wallthick = value; } } /// /// 目标壁厚 /// [Description("目标壁厚(mm)")] [Nullable(true)] [DataLength(10)] public decimal? Aimwallthick { get { return aimwallthick; } set { aimwallthick = value; } } /// /// 最大长度 /// [Description("最大长度(m)")] [Nullable(true)] [DataLength(10)] public decimal? Lengthmax { get { return lengthmax; } set { lengthmax = value; } } /// /// 最小长度 /// [Description("最小长度(m)")] [Nullable(true)] [DataLength(10)] public decimal? Lengthmin { get { return lengthmin; } set { lengthmin = value; } } /// /// 长度描述 /// [Description("长度描述")] [Nullable(true)] [DataLength(100)] public string Lengthdisc { get { return lengthdisc; } set { lengthdisc = value; } } /// /// 目标长度 /// [Description("目标长度(m)")] [Nullable(true)] [DataLength(10)] public decimal? Aimlength { get { return aimlength; } set { aimlength = value; } } /// /// 扣型代码 /// [Description("扣型代码")] [Nullable(true)] [DataLength(20)] public string ModelCode { get { return modelCode; } set { modelCode = value; } } /// /// 扣型描述 /// [Description("扣型")] [Nullable(true)] [DataLength(100)] public string ModelDesc { get { return modelDesc; } set { modelDesc = value; } } /// /// 成材率 /// [Description("成材率(%)")] [Nullable(true)] [DataLength(10)] public decimal? Getrate { get { return getrate; } set { getrate = value; } } /// /// 原料最大长度 /// [Description("原料最大长度(m)")] [Nullable(true)] [DataLength(10)] public decimal? LengthmaxIn { get { return lengthmaxIn; } set { lengthmaxIn = value; } } /// /// 原料最小长度 /// [Description("原料最小长度(m)")] [Nullable(true)] [DataLength(10)] public decimal? LengthminIn { get { return lengthminIn; } set { lengthminIn = value; } } /// /// 投入物料编码 /// [Description("投入物料编码")] [Nullable(true)] [DataLength(40)] public string InwlId { get { return inwlId; } set { inwlId = value; } } /// /// 投入物料 /// [Description("投入物料")] [Nullable(true)] [DataLength(100)] public string InwlDesc { get { return inwlDesc; } set { inwlDesc = value; } } /// /// 产出物料编码 /// [Description("产出物料编码")] [Nullable(true)] [DataLength(40)] public string OutwlId { get { return outwlId; } set { outwlId = value; } } /// /// 产出物料 /// [Description("产出物料")] [Nullable(true)] [DataLength(40)] public string OutwlDesc { get { return outwlDesc; } set { outwlDesc = value; } } /// /// 加工组 /// [Description("加工组")] [Nullable(true)] [DataLength(20)] public string GroupJgx { get { return groupJgx; } set { groupJgx = 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("合同重量(t)")] [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("利库量(t)")] [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("外购计划量(t)")] [Nullable(true)] [DataLength(10)] public decimal? BuyplanWt { get { return buyplanWt; } set { buyplanWt = value; } } /// /// 待生产量(订单量-利库-外购) /// [Description("待生产量(t)")] [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 string IsPlaned { get { return isPlaned; } set { isPlaned = value; } } /// /// 加工线订单编号 /// [Description("加工线订单编号")] [Nullable(true)] [DataLength(20)] public string ProPlanId { get { return proPlanId; } set { proPlanId = value; } } /// /// 生产完成重量 /// [Description("生产完成重量(t)")] [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; } } /// /// 是否加工线监制 /// [Description("是否监制")] [Nullable(true)] [DataLength(1)] public string IfMonitorJgx { get { return ifMonitorJgx; } set { ifMonitorJgx = value; } } /// /// 监制编号 /// [Description("监制编号")] [Nullable(true)] [DataLength(40)] public string PrdcrNo { get { return prdcrNo; } set { prdcrNo = value; } } /// /// 工艺文件号 /// [Description("工艺文件号")] [Nullable(true)] [DataLength(400)] 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(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(false)] [DataLength(500)] public string AddAskDesc { get { return addAskDesc; } set { addAskDesc = value; } } } }