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.LgResMgt.Mcms.entity { /// /// 数据库表BUY_GP_ORDER所对应的实体类(生成工具:代码生成工具3.0) /// 作者:朱少波 时间:2021-01-04 /// public class BuyGpOrderEntity { /// /// 合同头PK值(GUID) /// private string ordNoPk = ""; /// /// 合同行PK值=合同头PK值+3位ORDER_SQE /// private string ordSqePk = ""; /// /// 合同号 /// private string orderNo = ""; /// /// 合同行号 /// private string orderSqe = ""; /// /// 采购需求号 /// private string gpbuyplanid = ""; /// /// 管坯类型(1铸坯2锻坯) /// private string gptype = ""; /// /// 供应商代码 /// private string suppCode = ""; /// /// 管坯物料编码 /// private string materialNo = ""; /// /// 物料描述 /// private string materialName = ""; /// /// 标准代码(采购标准) /// private string stdCode = ""; /// /// 钢种代码 /// private string gradecode = ""; /// /// 钢种名称 /// private string gradename = ""; /// /// 管坯直径 /// private decimal? diameter = null; /// /// 单倍坯长 /// private decimal? lenGpSingle = null; /// /// 管坯长度 /// private decimal? length = null; /// /// 管坯单重 /// private decimal? weightOne = null; /// /// 倍尺数 /// private decimal? fixNum = null; /// /// 合同量 /// private decimal? weightNum = null; /// /// 交货期 /// private string getEndtime = ""; /// /// 合同状态(0编制、1生效) /// private string ordStatus = ""; /// /// 有效标志(1:有效,0:无效) /// private string validflag = ""; /// /// 备注 /// private string memo = ""; /// /// 创建人 /// private string createName = ""; /// /// 创建时间 /// private string createTime = ""; /// /// 修改人 /// private string updateName = ""; /// /// 修改时间 /// private string updateTime = ""; /// /// 需求重量(提报量) /// private decimal? weightTot = null; /// /// 采购计量单位(支、米、吨) /// private string orderUnit = ""; /// /// 交货量差下限 /// private decimal? delvryRangeMin = null; /// /// 交货量差上限 /// private decimal? delvryRangeMax = null; /// /// 运输方式('1105') /// private string transitTyp = ""; /// /// 需求类型(0 非双经销 1双经销) /// private string typeFlag = ""; /// /// 合同头PK值(GUID) /// [Description("合同头PK值(GUID)")] [Nullable(false)] [DataLength(40)] public string OrdNoPk { get { return ordNoPk; } set { ordNoPk = value; } } /// /// 合同行PK值=合同头PK值+3位ORDER_SQE /// [Description("合同行PK值=合同头PK值+3位ORDER_SQE")] [Nullable(false)] [DataLength(40)] public string OrdSqePk { get { return ordSqePk; } set { ordSqePk = value; } } /// /// 合同号 /// [Description("合同号")] [Nullable(true)] [DataLength(40)] public string OrderNo { get { return orderNo; } set { orderNo = value; } } /// /// 合同行号 /// [Description("合同行号")] [Nullable(true)] [DataLength(3)] public string OrderSqe { get { return orderSqe; } set { orderSqe = value; } } /// /// 采购需求号 /// [Description("采购需求号")] [Nullable(true)] [DataLength(20)] public string Gpbuyplanid { get { return gpbuyplanid; } set { gpbuyplanid = value; } } /// /// 管坯类型(1铸坯2锻坯) /// [Description("管坯类型(1铸坯2锻坯)")] [Nullable(true)] [DataLength(1)] public string Gptype { get { return gptype; } set { gptype = value; } } /// /// 供应商代码 /// [Description("供应商代码")] [Nullable(true)] [DataLength(10)] public string SuppCode { get { return suppCode; } set { suppCode = value; } } /// /// 管坯物料编码 /// [Description("管坯物料编码")] [Nullable(true)] [DataLength(20)] public string MaterialNo { get { return materialNo; } set { materialNo = value; } } /// /// 物料描述 /// [Description("物料描述")] [Nullable(true)] [DataLength(100)] public string MaterialName { get { return materialName; } set { materialName = value; } } /// /// 标准代码(采购标准) /// [Description("标准代码(采购标准)")] [Nullable(true)] [DataLength(10)] public string StdCode { get { return stdCode; } set { stdCode = value; } } /// /// 钢种代码 /// [Description("钢种代码")] [Nullable(true)] [DataLength(10)] public string Gradecode { get { return gradecode; } set { gradecode = value; } } /// /// 钢种名称 /// [Description("钢种名称")] [Nullable(true)] [DataLength(100)] public string Gradename { get { return gradename; } set { gradename = value; } } /// /// 管坯直径 /// [Description("管坯直径")] [Nullable(true)] [DataLength(10)] public decimal? Diameter { get { return diameter; } set { diameter = value; } } /// /// 单倍坯长 /// [Description("单倍坯长")] [Nullable(true)] [DataLength(10)] public decimal? LenGpSingle { get { return lenGpSingle; } set { lenGpSingle = value; } } /// /// 管坯长度 /// [Description("管坯长度")] [Nullable(true)] [DataLength(10)] public decimal? Length { get { return length; } set { length = value; } } /// /// 管坯单重 /// [Description("管坯单重")] [Nullable(true)] [DataLength(10)] public decimal? WeightOne { get { return weightOne; } set { weightOne = value; } } /// /// 倍尺数 /// [Description("倍尺数")] [Nullable(true)] [DataLength(1)] public decimal? FixNum { get { return fixNum; } set { fixNum = value; } } /// /// 合同量 /// [Description("合同量")] [Nullable(true)] [DataLength(10)] public decimal? WeightNum { get { return weightNum; } set { weightNum = value; } } /// /// 交货期 /// [Description("交货期")] [Nullable(true)] public string GetEndtime { get { return getEndtime; } set { getEndtime = value; } } /// /// 合同状态(0编制、1生效) /// [Description("合同状态(0编制、1生效)")] [Nullable(true)] [DataLength(1)] public string OrdStatus { get { return ordStatus; } set { ordStatus = value; } } /// /// 有效标志(1:有效,0:无效) /// [Description("有效标志(1:有效,0:无效)")] [Nullable(true)] [DataLength(1)] public string Validflag { get { return validflag; } set { validflag = value; } } /// /// 备注 /// [Description("备注")] [Nullable(true)] [DataLength(200)] public string Memo { get { return memo; } set { memo = 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(10)] public decimal? WeightTot { get { return weightTot; } set { weightTot = value; } } /// /// 采购计量单位(支、米、吨) /// [Description("采购计量单位(支、米、吨)")] [Nullable(true)] [DataLength(20)] public string OrderUnit { get { return orderUnit; } set { orderUnit = value; } } /// /// 交货量差下限 /// [Description("交货量差下限")] [Nullable(true)] [DataLength(5)] public decimal? DelvryRangeMin { get { return delvryRangeMin; } set { delvryRangeMin = value; } } /// /// 交货量差上限 /// [Description("交货量差上限")] [Nullable(true)] [DataLength(5)] public decimal? DelvryRangeMax { get { return delvryRangeMax; } set { delvryRangeMax = value; } } /// /// 运输方式('1105') /// [Description("运输方式('1105')")] [Nullable(true)] [DataLength(20)] public string TransitTyp { get { return transitTyp; } set { transitTyp = value; } } /// /// 需求类型(0 非双经销 1双经销) /// [Description("需求类型")] [Nullable(true)] [DataLength(1)] public string TypeFlag { get { return typeFlag; } set { typeFlag = value; } } [Description("合同号")] [Nullable(true)] [DataLength(1)] public string ProOrderNo { get { return orderNo + "/" + orderSqe; } } } }