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_DBK所对应的实体类(生成工具:代码生成工具3.0)
/// 作者:USER-20150714WV 时间:2015-11-16
///
public class PlnOrderDbkEntity
{
///
/// 镦拔扩合同编号
///
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 string outwlId = "";
///
/// 外径
///
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 inwlId = "";
///
/// 原料外径
///
private decimal? outdiameterIn = null;
///
/// 原料壁厚
///
private decimal? wallthickIn = null;
///
/// 原料最大长度
///
private decimal? lengthmaxIn = null;
///
/// 原料最小长度
///
private decimal? lengthminIn = null;
///
/// 成材率
///
private decimal? getrate = null;
///
/// 变径类型
///
private string bjType = "";
///
/// 可选产线编码
///
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 = "";
///
/// 是否工序补量合同(末工序不能为1)
///
private string isExtraOrd = "";
///
/// 是否镦拔扩工序监制
///
private string ifMonitorBj = "";
///
/// 监制编号
///
private string prdcrNo = "";
///
/// 工艺文件号
///
private string craftFileNo = "";
///
/// 工艺文件责任人
///
private string craftFileMan = "";
///
/// 创建人
///
private string createName = "";
///
/// 创建时间
///
private string createTime = "";
///
/// 修改人
///
private string updateName = "";
///
/// 修改时间
///
private string updateTime = "";
///
/// 镦拔扩合同编号
///
[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(40)]
public string OutwlId
{
get { return outwlId; }
set { outwlId = 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 InwlId
{
get { return inwlId; }
set { inwlId = value; }
}
///
/// 原料外径
///
[Description("原料外径")]
[Nullable(true)]
[DataLength(10)]
public decimal? OutdiameterIn
{
get { return outdiameterIn; }
set { outdiameterIn = value; }
}
///
/// 原料壁厚
///
[Description("原料壁厚")]
[Nullable(true)]
[DataLength(10)]
public decimal? WallthickIn
{
get { return wallthickIn; }
set { wallthickIn = value; }
}
///
/// 原料最大长度
///
[Description("原料最大长度")]
[Nullable(true)]
[DataLength(10)]
public decimal? LengthmaxIn
{
get { return lengthmaxIn; }
set { lengthmaxIn = value; }
}
///
/// 原料最小长度
///
[Description("原料最小长度")]
[Nullable(true)]
[DataLength(10)]
public decimal? LengthminIn
{
get { return lengthminIn; }
set { lengthminIn = value; }
}
///
/// 成材率
///
[Description("成材率")]
[Nullable(true)]
[DataLength(10)]
public decimal? Getrate
{
get { return getrate; }
set { getrate = value; }
}
///
/// 变径类型
///
[Description("变径类型")]
[Nullable(true)]
[DataLength(20)]
public string BjType
{
get { return bjType; }
set { bjType = 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(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 string 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 IfMonitorBj
{
get { return ifMonitorBj; }
set { ifMonitorBj = 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; }
}
}
}