| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using Core.Mes.Client.Comm.Attribute;
- using Newtonsoft.Json;
- namespace Core.StlMes.Client.SaleOrder
- {
- public class SlmBaseMaterialEntity
- {
- /// <summary>
- /// 物料编码
- /// </summary>
- private object materialNo;
- /// <summary>
- /// 物料描述
- /// </summary>
- private object materialDesc;
- /// <summary>
- /// 品名代码
- /// </summary>
- private object produccode;
- /// <summary>
- /// 品名描述
- /// </summary>
- private object producname;
- /// <summary>
- /// 品名简称
- /// </summary>
- private object producJx;
- /// <summary>
- /// 品名英语名称
- /// </summary>
- private object producEng;
- /// <summary>
- /// 标准类别代码
- /// </summary>
- private object stdStyle;
- /// <summary>
- /// 标准类别描述(PSL1....)
- /// </summary>
- private object stdStyleDesc;
- /// <summary>
- /// 钢级(牌号)代码
- /// </summary>
- private object steelcode;
- /// <summary>
- /// 钢级(牌号)名称
- /// </summary>
- private object steelname;
- /// <summary>
- /// 钢种代码(GZ0001)
- /// </summary>
- private object gradecode;
- /// <summary>
- /// 钢种名称
- /// </summary>
- private object gradename;
- /// <summary>
- /// 外径
- /// </summary>
- private object dimater;
- /// <summary>
- /// 壁厚
- /// </summary>
- private object height;
- /// <summary>
- /// 管坯规格代码(从产品规格表中取值)
- /// </summary>
- private object specCode;
- /// <summary>
- /// 管坯规格描述
- /// </summary>
- private object specName;
- /// <summary>
- /// 扣型代码
- /// </summary>
- private object modelCode;
- /// <summary>
- /// 扣型描述
- /// </summary>
- private object modelDesc;
- /// <summary>
- /// 允许外购
- /// </summary>
- private object outsrcAllow;
- /// <summary>
- /// 首次生产(对应物料缴库时改变首次生产标识)
- /// </summary>
- private object firstPrdc;
- /// <summary>
- /// 创建人
- /// </summary>
- private object createName;
- /// <summary>
- /// 创建时间
- /// </summary>
- private object createTime;
- /// <summary>
- /// 修改人
- /// </summary>
- private object updateName;
- /// <summary>
- /// 修改时间
- /// </summary>
- private object updateTime;
- /// <summary>
- /// 删除人
- /// </summary>
- private object deleteName;
- /// <summary>
- /// 删除时间
- /// </summary>
- private object deleteTime;
- /// <summary>
- /// 是否自动生成工艺文件(1:是 0:否)
- /// </summary>
- private string autoCraft = "";
- /// <summary>
- /// 物料大类
- /// </summary>
- private string materialTypeMax = "";
- /// <summary>
- /// 物料中类
- /// </summary>
- private string materialTypeMid = "";
- /// <summary>
- /// 物料小类
- /// </summary>
- private string materialTypeMin = "";
- /// <summary>
- /// 属性分类1
- /// </summary>
- private string propertyType1 = "";
- /// <summary>
- /// 属性分类2
- /// </summary>
- private string propertyType2 = "";
- /// <summary>
- /// TP系列
- /// </summary>
- private string tpSeries = "";
- /// <summary>
- /// 特殊扣型
- /// </summary>
- private string specialModel = "";
- /// <summary>
- /// 高端产品
- /// </summary>
- private string upmarketProduct = "";
- /// <summary>
- /// 高附加值产品
- /// </summary>
- private string highAdditionalProduct = "";
- /// <summary>
- /// 物料大类
- /// </summary>
- private string materialTypeMaxDesc = "";
- /// <summary>
- /// 物料中类
- /// </summary>
- private string materialTypeMidDesc = "";
- /// <summary>
- /// 物料小类
- /// </summary>
- private string materialTypeMinDesc = "";
- /// <summary>
- /// 属性分类1
- /// </summary>
- private string propertyType1Desc = "";
- /// <summary>
- /// 属性分类2
- /// </summary>
- private string propertyType2Desc = "";
- private string totalCost = "";
- public SlmBaseMaterialEntity()
- {
- materialNo = "";
- materialDesc = "";
- produccode = "";
- producname = "";
- producJx = "";
- producEng = "";
- stdStyle = "";
- stdStyleDesc = "";
- steelcode = "";
- steelname = "";
- gradecode = "";
- gradename = "";
- dimater = "";
- height = "";
- specCode = "";
- specName = "";
- modelCode = "";
- modelDesc = "";
- outsrcAllow = "";
- firstPrdc = "";
- createName = "";
- createTime = "";
- updateName = "";
- updateTime = "";
- deleteName = "";
- deleteTime = "";
- }
- /// <summary>
- /// 物料编码
- /// </summary>
- [Description("物料编码")]
- public object MaterialNo
- {
- get { return materialNo; }
- set
- {
- if (value == null)
- {
- materialNo = DBNull.Value;
- }
- else
- {
- materialNo = value;
- }
- }
- }
- /// <summary>
- /// 物料描述
- /// </summary>
- [Description("物料描述")]
- public object MaterialDesc
- {
- get { return materialDesc; }
- set
- {
- if (value == null)
- {
- materialDesc = DBNull.Value;
- }
- else
- {
- materialDesc = value;
- }
- }
- }
- /// <summary>
- /// 品名代码
- /// </summary>
- [Description("品名代码")]
- public object Produccode
- {
- get { return produccode; }
- set
- {
- if (value == null)
- {
- produccode = DBNull.Value;
- }
- else
- {
- produccode = value;
- }
- }
- }
- /// <summary>
- /// 品名描述
- /// </summary>
- [Description("品名描述")]
- public object Producname
- {
- get { return producname; }
- set
- {
- if (value == null)
- {
- producname = DBNull.Value;
- }
- else
- {
- producname = value;
- }
- }
- }
- /// <summary>
- /// 品名简称
- /// </summary>
- [Description("品名简称")]
- public object ProducJx
- {
- get { return producJx; }
- set
- {
- if (value == null)
- {
- producJx = DBNull.Value;
- }
- else
- {
- producJx = value;
- }
- }
- }
- /// <summary>
- /// 品名英语名称
- /// </summary>
- [Description("品名英语名称")]
- public object ProducEng
- {
- get { return producEng; }
- set
- {
- if (value == null)
- {
- producEng = DBNull.Value;
- }
- else
- {
- producEng = value;
- }
- }
- }
- /// <summary>
- /// 标准类别代码
- /// </summary>
- [Description("标准类别代码")]
- public object StdStyle
- {
- get { return stdStyle; }
- set
- {
- if (value == null)
- {
- stdStyle = DBNull.Value;
- }
- else
- {
- stdStyle = value;
- }
- }
- }
- /// <summary>
- /// 标准类别描述(PSL1....)
- /// </summary>
- [Description("标准类别描述")]
- public object StdStyleDesc
- {
- get { return stdStyleDesc; }
- set
- {
- if (value == null)
- {
- stdStyleDesc = DBNull.Value;
- }
- else
- {
- stdStyleDesc = value;
- }
- }
- }
- /// <summary>
- /// 钢级(牌号)代码
- /// </summary>
- [Description("钢级(牌号)代码")]
- public object Steelcode
- {
- get { return steelcode; }
- set
- {
- if (value == null)
- {
- steelcode = DBNull.Value;
- }
- else
- {
- steelcode = value;
- }
- }
- }
- /// <summary>
- /// 钢级(牌号)名称
- /// </summary>
- [Description("钢级(牌号)名称")]
- public object Steelname
- {
- get { return steelname; }
- set
- {
- if (value == null)
- {
- steelname = DBNull.Value;
- }
- else
- {
- steelname = value;
- }
- }
- }
- /// <summary>
- /// 钢种代码(GZ0001)
- /// </summary>
- [Description("钢种代码")]
- public object Gradecode
- {
- get { return gradecode; }
- set
- {
- if (value == null)
- {
- gradecode = DBNull.Value;
- }
- else
- {
- gradecode = value;
- }
- }
- }
- /// <summary>
- /// 钢种名称
- /// </summary>
- [Description("钢种名称")]
- public object Gradename
- {
- get { return gradename; }
- set
- {
- if (value == null)
- {
- gradename = DBNull.Value;
- }
- else
- {
- gradename = value;
- }
- }
- }
- /// <summary>
- /// 外径
- /// </summary>
- [Description("外径")]
- public object Dimater
- {
- get { return dimater; }
- set
- {
- if (value == null)
- {
- dimater = DBNull.Value;
- }
- else
- {
- dimater = value;
- }
- }
- }
- /// <summary>
- /// 壁厚
- /// </summary>
- [Description("壁厚")]
- public object Height
- {
- get { return height; }
- set
- {
- if (value == null)
- {
- height = DBNull.Value;
- }
- else
- {
- height = value;
- }
- }
- }
- /// <summary>
- /// 管坯规格代码(从产品规格表中取值)
- /// </summary>
- [Description("管坯规格代码")]
- public object SpecCode
- {
- get { return specCode; }
- set
- {
- if (value == null)
- {
- specCode = DBNull.Value;
- }
- else
- {
- specCode = value;
- }
- }
- }
- /// <summary>
- /// 管坯规格描述
- /// </summary>
- [Description("管坯规格描述")]
- public object SpecName
- {
- get { return specName; }
- set
- {
- if (value == null)
- {
- specName = DBNull.Value;
- }
- else
- {
- specName = value;
- }
- }
- }
- /// <summary>
- /// 扣型代码
- /// </summary>
- [Description("扣型代码")]
- public object ModelCode
- {
- get { return modelCode; }
- set
- {
- if (value == null)
- {
- modelCode = DBNull.Value;
- }
- else
- {
- modelCode = value;
- }
- }
- }
- /// <summary>
- /// 扣型描述
- /// </summary>
- [Description("扣型描述")]
- public object ModelDesc
- {
- get { return modelDesc; }
- set
- {
- if (value == null)
- {
- modelDesc = DBNull.Value;
- }
- else
- {
- modelDesc = value;
- }
- }
- }
- /// <summary>
- /// 允许外购
- /// </summary>
- [Description("允许外购")]
- public object OutsrcAllow
- {
- get { return outsrcAllow; }
- set
- {
- if (value == null)
- {
- outsrcAllow = DBNull.Value;
- }
- else
- {
- outsrcAllow = value;
- }
- }
- }
- /// <summary>
- /// 首次生产(对应物料缴库时改变首次生产标识)
- /// </summary>
- [Description("首次生产")]
- public object FirstPrdc
- {
- get { return firstPrdc; }
- set
- {
- if (value == null)
- {
- firstPrdc = DBNull.Value;
- }
- else
- {
- firstPrdc = value;
- }
- }
- }
- /// <summary>
- /// 创建人
- /// </summary>
- [Description("创建人")]
- public object CreateName
- {
- get { return createName; }
- set
- {
- if (value == null)
- {
- createName = DBNull.Value;
- }
- else
- {
- createName = value;
- }
- }
- }
- /// <summary>
- /// 创建时间
- /// </summary>
- [Description("创建时间")]
- public object CreateTime
- {
- get { return createTime; }
- set
- {
- if (value == null)
- {
- createTime = DBNull.Value;
- }
- else
- {
- createTime = value;
- }
- }
- }
- /// <summary>
- /// 修改人
- /// </summary>
- [Description("修改人")]
- public object UpdateName
- {
- get { return updateName; }
- set
- {
- if (value == null)
- {
- updateName = DBNull.Value;
- }
- else
- {
- updateName = value;
- }
- }
- }
- /// <summary>
- /// 修改时间
- /// </summary>
- [Description("修改时间")]
- public object UpdateTime
- {
- get { return updateTime; }
- set
- {
- if (value == null)
- {
- updateTime = DBNull.Value;
- }
- else
- {
- updateTime = value;
- }
- }
- }
- /// <summary>
- /// 删除人
- /// </summary>
- [Description("删除人")]
- public object DeleteName
- {
- get { return deleteName; }
- set
- {
- if (value == null)
- {
- deleteName = DBNull.Value;
- }
- else
- {
- deleteName = value;
- }
- }
- }
- /// <summary>
- /// 删除时间
- /// </summary>
- [Description("删除时间")]
- public object DeleteTime
- {
- get { return deleteTime; }
- set
- {
- if (value == null)
- {
- deleteTime = DBNull.Value;
- }
- else
- {
- deleteTime = value;
- }
- }
- }
- /// <summary>
- /// 是否自动生成工艺文件(1:是 0:否)
- /// </summary>
- [Description("是否自动生成工艺文件")]
- [Nullable(true)]
- [DataLength(1)]
- [JsonProperty("autoCraft")]
- public string AutoCraft
- {
- get { return autoCraft; }
- set { autoCraft = value; }
- }
- /// <summary>
- /// 物料大类
- /// </summary>
- [Description("物料大类")]
- [Nullable(true)]
- [DataLength(10)]
- [JsonProperty("materialTypeMax")]
- public string MaterialTypeMax
- {
- get { return materialTypeMax; }
- set { materialTypeMax = value; }
- }
- /// <summary>
- /// 物料中类
- /// </summary>
- [Description("物料中类")]
- [Nullable(true)]
- [DataLength(10)]
- [JsonProperty("materialTypeMid")]
- public string MaterialTypeMid
- {
- get { return materialTypeMid; }
- set { materialTypeMid = value; }
- }
- /// <summary>
- /// 物料小类
- /// </summary>
- [Description("物料小类")]
- [Nullable(true)]
- [DataLength(10)]
- [JsonProperty("materialTypeMin")]
- public string MaterialTypeMin
- {
- get { return materialTypeMin; }
- set { materialTypeMin = value; }
- }
- /// <summary>
- /// 属性分类1
- /// </summary>
- [Description("属性分类1")]
- [Nullable(true)]
- [DataLength(10)]
- [JsonProperty("propertyType1")]
- public string PropertyType1
- {
- get { return propertyType1; }
- set { propertyType1 = value; }
- }
- /// <summary>
- /// 属性分类2
- /// </summary>
- [Description("属性分类2")]
- [Nullable(true)]
- [DataLength(10)]
- [JsonProperty("propertyType2")]
- public string PropertyType2
- {
- get { return propertyType2; }
- set { propertyType2 = value; }
- }
- /// <summary>
- /// TP系列
- /// </summary>
- [Description("TP系列")]
- [Nullable(true)]
- [DataLength(1)]
- [JsonProperty("tpSeries")]
- public string TpSeries
- {
- get { return tpSeries; }
- set { tpSeries = value; }
- }
- /// <summary>
- /// 特殊扣型
- /// </summary>
- [Description("特殊扣型")]
- [Nullable(true)]
- [DataLength(1)]
- [JsonProperty("specialModel")]
- public string SpecialModel
- {
- get { return specialModel; }
- set { specialModel = value; }
- }
- /// <summary>
- /// 高端产品
- /// </summary>
- [Description("高端产品")]
- [Nullable(true)]
- [DataLength(1)]
- [JsonProperty("upmarketProduct")]
- public string UpmarketProduct
- {
- get { return upmarketProduct; }
- set { upmarketProduct = value; }
- }
- /// <summary>
- /// 高附加值产品
- /// </summary>
- [Description("高附加值产品")]
- [Nullable(true)]
- [DataLength(1)]
- [JsonProperty("highAdditionalProduct")]
- public string HighAdditionalProduct
- {
- get { return highAdditionalProduct; }
- set { highAdditionalProduct = value; }
- }
- /// <summary>
- /// 物料大类
- /// </summary>
- [Description("物料大类")]
- [Nullable(true)]
- [DataLength(100)]
- [JsonProperty("materialTypeMaxDesc")]
- public string MaterialTypeMaxDesc
- {
- get { return materialTypeMaxDesc; }
- set { materialTypeMaxDesc = value; }
- }
- /// <summary>
- /// 物料中类
- /// </summary>
- [Description("物料中类")]
- [Nullable(true)]
- [DataLength(100)]
- [JsonProperty("materialTypeMidDesc")]
- public string MaterialTypeMidDesc
- {
- get { return materialTypeMidDesc; }
- set { materialTypeMidDesc = value; }
- }
- /// <summary>
- /// 物料小类
- /// </summary>
- [Description("物料小类")]
- [Nullable(true)]
- [DataLength(100)]
- [JsonProperty("materialTypeMinDesc")]
- public string MaterialTypeMinDesc
- {
- get { return materialTypeMinDesc; }
- set { materialTypeMinDesc = value; }
- }
- /// <summary>
- /// 属性分类1
- /// </summary>
- [Description("属性分类1")]
- [Nullable(true)]
- [DataLength(100)]
- [JsonProperty("propertyType1Desc")]
- public string PropertyType1Desc
- {
- get { return propertyType1Desc; }
- set { propertyType1Desc = value; }
- }
- /// <summary>
- /// 属性分类2
- /// </summary>
- [Description("属性分类2")]
- [Nullable(true)]
- [DataLength(100)]
- [JsonProperty("propertyType2Desc")]
- public string PropertyType2Desc
- {
- get { return propertyType2Desc; }
- set { propertyType2Desc = value; }
- }
- /// <summary>
- /// 完全成本
- /// </summary>
- [Description("工序成本")]
- [Nullable(true)]
- [DataLength(100)]
- [JsonProperty("totalCost")]
- public string TotalCost
- {
- get { return totalCost; }
- set { totalCost = value; }
- }
- }
- }
|