| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670 |
- using Core.Mes.Client.Comm.Attribute;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- namespace Core.StlMes.Client.SaleOrder
- {
- /// <summary>
- /// 数据库表SLM_ORDER_LINE_PURCHASE所对应的实体类(生成工具:代码生成工具3.0)
- /// 作者:DESKTOP-DG6B81Q 时间:2015-12-01
- /// </summary>
- public class SlmOrderLinePurchaseEntity
- {
- /// <summary>
- /// ORD_PK
- /// </summary>
- private string ordPk = "";
- /// <summary>
- /// ORD_LN_PK(ORD_PK+三位流失号)
- /// </summary>
- private string ordLnPk = "";
- /// <summary>
- /// 合同行号(ORD_PK向下三位流水号,确保流水号的连续性)
- /// </summary>
- private string orderSeq = "";
- /// <summary>
- /// ORDER_SEQ+00
- /// </summary>
- private string orderSeqIndex = "";
- /// <summary>
- /// 品名代码
- /// </summary>
- private string produccode = "";
- /// <summary>
- /// 品名描述
- /// </summary>
- private string producname = "";
- /// <summary>
- /// 标准代码
- /// </summary>
- private string stdCode = "";
- /// <summary>
- /// 标准名称
- /// </summary>
- private string stdName = "";
- /// <summary>
- /// 钢级(牌号)代码
- /// </summary>
- private string steelcode = "";
- /// <summary>
- /// 钢级(牌号)名称
- /// </summary>
- private string steelname = "";
- /// <summary>
- /// 标准类别代码
- /// </summary>
- private string stdStyle = "";
- /// <summary>
- /// 标准类别描述
- /// </summary>
- private string stdStyleDesc = "";
- /// <summary>
- /// 产品规格代码
- /// </summary>
- private string specCode = "";
- /// <summary>
- /// 产品规格描述
- /// </summary>
- private string specName = "";
- /// <summary>
- /// 订货规格代码(用于合同、质保书、标牌、标识)
- /// </summary>
- private string orderSpecCode = "";
- /// <summary>
- /// 订货规格描述(用于合同、质保书、标牌、标识)
- /// </summary>
- private string orderSpecDesc = "";
- /// <summary>
- /// 外径(mm)
- /// </summary>
- private decimal? dimater = null;
- /// <summary>
- /// 壁厚(mm)
- /// </summary>
- private decimal? height = null;
- /// <summary>
- /// 扣型代码
- /// </summary>
- private string modelCode = "";
- /// <summary>
- /// 扣型描述
- /// </summary>
- private string modelDesc = "";
- /// <summary>
- /// 长度描述
- /// </summary>
- private string lenDesc = "";
- /// <summary>
- /// 长度单位
- /// </summary>
- private string lenUnit = "";
- /// <summary>
- /// 下限
- /// </summary>
- private decimal? lenMin = null;
- /// <summary>
- /// 上限
- /// </summary>
- private decimal? lenMax = null;
- /// <summary>
- /// 订货计量单位(支、米、吨)
- /// </summary>
- private string orderUnit = "";
- /// <summary>
- /// 订货量
- /// </summary>
- private decimal? orderQty = null;
- /// <summary>
- /// 交货量差方式(绝对值;百分比)
- /// </summary>
- private string delvryRangeTpe = "";
- /// <summary>
- /// 交货量差下限
- /// </summary>
- private decimal? delvryRangeMin = null;
- /// <summary>
- /// 交货量差上限
- /// </summary>
- private decimal? delvryRangeMax = null;
- /// <summary>
- /// 最终用户(来源客户表)
- /// </summary>
- private string finalUser = "";
- /// <summary>
- /// 最终用户描述
- /// </summary>
- private string finalUserDesc = "";
- /// <summary>
- /// 附加要求编码
- /// </summary>
- private string addAskNo = "";
- /// <summary>
- /// 订货附加要求描述
- /// </summary>
- private string orderAddDesc = "";
- /// <summary>
- /// 备注
- /// </summary>
- private string memo = "";
- /// <summary>
- /// 有效标志(1:有效,0:无效)
- /// </summary>
- private string validflag = "";
- /// <summary>
- /// 创建人
- /// </summary>
- private string createName = "";
- /// <summary>
- /// 创建时间
- /// </summary>
- private string createTime = "";
- /// <summary>
- /// 修改人
- /// </summary>
- private string updateName = "";
- /// <summary>
- /// 修改时间
- /// </summary>
- private string updateTime = "";
- /// <summary>
- /// 删除人
- /// </summary>
- private string deleteName = "";
- /// <summary>
- /// 删除时间
- /// </summary>
- private string deleteTime = "";
- /// <summary>
- /// ORD_PK
- /// </summary>
- [Description("ORD_PK")]
- [Nullable(false)]
- [DataLength(40)]
- public string OrdPk
- {
- get { return ordPk; }
- set { ordPk = value; }
- }
- /// <summary>
- /// ORD_LN_PK(ORD_PK+三位流失号)
- /// </summary>
- [Description("ORD_LN_PK(ORD_PK+三位流失号)")]
- [Nullable(false)]
- [DataLength(40)]
- public string OrdLnPk
- {
- get { return ordLnPk; }
- set { ordLnPk = value; }
- }
- /// <summary>
- /// 合同行号(ORD_PK向下三位流水号,确保流水号的连续性)
- /// </summary>
- [Description("合同行号(ORD_PK向下三位流水号,确保流水号的连续性)")]
- [Nullable(false)]
- [DataLength(3)]
- public string OrderSeq
- {
- get { return orderSeq; }
- set { orderSeq = value; }
- }
- /// <summary>
- /// ORDER_SEQ+00
- /// </summary>
- [Description("ORDER_SEQ+00")]
- [Nullable(true)]
- [DataLength(5)]
- public string OrderSeqIndex
- {
- get { return orderSeqIndex; }
- set { orderSeqIndex = value; }
- }
- /// <summary>
- /// 品名代码
- /// </summary>
- [Description("品名代码")]
- [Nullable(false)]
- [DataLength(20)]
- public string Produccode
- {
- get { return produccode; }
- set { produccode = value; }
- }
- /// <summary>
- /// 品名描述
- /// </summary>
- [Description("品名描述")]
- [Nullable(false)]
- [DataLength(100)]
- public string Producname
- {
- get { return producname; }
- set { producname = value; }
- }
- /// <summary>
- /// 标准代码
- /// </summary>
- [Description("标准代码")]
- [Nullable(false)]
- [DataLength(20)]
- public string StdCode
- {
- get { return stdCode; }
- set { stdCode = value; }
- }
- /// <summary>
- /// 标准名称
- /// </summary>
- [Description("标准名称")]
- [Nullable(false)]
- [DataLength(200)]
- public string StdName
- {
- get { return stdName; }
- set { stdName = value; }
- }
- /// <summary>
- /// 钢级(牌号)代码
- /// </summary>
- [Description("钢级(牌号)代码")]
- [Nullable(false)]
- [DataLength(10)]
- public string Steelcode
- {
- get { return steelcode; }
- set { steelcode = value; }
- }
- /// <summary>
- /// 钢级(牌号)名称
- /// </summary>
- [Description("钢级(牌号)名称")]
- [Nullable(false)]
- [DataLength(100)]
- public string Steelname
- {
- get { return steelname; }
- set { steelname = value; }
- }
- /// <summary>
- /// 标准类别代码
- /// </summary>
- [Description("标准类别代码")]
- [Nullable(true)]
- [DataLength(20)]
- public string StdStyle
- {
- get { return stdStyle; }
- set { stdStyle = value; }
- }
- /// <summary>
- /// 标准类别描述
- /// </summary>
- [Description("标准类别描述")]
- [Nullable(true)]
- [DataLength(50)]
- public string StdStyleDesc
- {
- get { return stdStyleDesc; }
- set { stdStyleDesc = value; }
- }
- /// <summary>
- /// 产品规格代码
- /// </summary>
- [Description("产品规格代码")]
- [Nullable(false)]
- [DataLength(20)]
- public string SpecCode
- {
- get { return specCode; }
- set { specCode = value; }
- }
- /// <summary>
- /// 产品规格描述
- /// </summary>
- [Description("产品规格描述")]
- [Nullable(false)]
- [DataLength(100)]
- public string SpecName
- {
- get { return specName; }
- set { specName = value; }
- }
- /// <summary>
- /// 订货规格代码(用于合同、质保书、标牌、标识)
- /// </summary>
- [Description("订货规格代码(用于合同、质保书、标牌、标识)")]
- [Nullable(false)]
- [DataLength(20)]
- public string OrderSpecCode
- {
- get { return orderSpecCode; }
- set { orderSpecCode = value; }
- }
- /// <summary>
- /// 订货规格描述(用于合同、质保书、标牌、标识)
- /// </summary>
- [Description("订货规格描述(用于合同、质保书、标牌、标识)")]
- [Nullable(false)]
- [DataLength(200)]
- public string OrderSpecDesc
- {
- get { return orderSpecDesc; }
- set { orderSpecDesc = value; }
- }
- /// <summary>
- /// 外径(mm)
- /// </summary>
- [Description("外径(mm)")]
- [Nullable(false)]
- [DataLength(6)]
- public decimal? Dimater
- {
- get { return dimater; }
- set { dimater = value; }
- }
- /// <summary>
- /// 壁厚(mm)
- /// </summary>
- [Description("壁厚(mm)")]
- [Nullable(false)]
- [DataLength(6)]
- public decimal? Height
- {
- get { return height; }
- set { height = value; }
- }
- /// <summary>
- /// 扣型代码
- /// </summary>
- [Description("扣型代码")]
- [Nullable(true)]
- [DataLength(20)]
- public string ModelCode
- {
- get { return modelCode; }
- set { modelCode = value; }
- }
- /// <summary>
- /// 扣型描述
- /// </summary>
- [Description("扣型描述")]
- [Nullable(true)]
- [DataLength(100)]
- public string ModelDesc
- {
- get { return modelDesc; }
- set { modelDesc = value; }
- }
- /// <summary>
- /// 长度描述
- /// </summary>
- [Description("长度描述")]
- [Nullable(true)]
- [DataLength(200)]
- public string LenDesc
- {
- get { return lenDesc; }
- set { lenDesc = value; }
- }
- /// <summary>
- /// 长度单位
- /// </summary>
- [Description("长度单位")]
- [Nullable(true)]
- [DataLength(20)]
- public string LenUnit
- {
- get { return lenUnit; }
- set { lenUnit = value; }
- }
- /// <summary>
- /// 下限
- /// </summary>
- [Description("下限")]
- [Nullable(true)]
- [DataLength(5)]
- public decimal? LenMin
- {
- get { return lenMin; }
- set { lenMin = value; }
- }
- /// <summary>
- /// 上限
- /// </summary>
- [Description("上限")]
- [Nullable(true)]
- [DataLength(5)]
- public decimal? LenMax
- {
- get { return lenMax; }
- set { lenMax = value; }
- }
- /// <summary>
- /// 订货计量单位(支、米、吨)
- /// </summary>
- [Description("订货计量单位(支、米、吨)")]
- [Nullable(true)]
- [DataLength(20)]
- public string OrderUnit
- {
- get { return orderUnit; }
- set { orderUnit = value; }
- }
- /// <summary>
- /// 订货量
- /// </summary>
- [Description("订货量")]
- [Nullable(true)]
- [DataLength(22)]
- public decimal? OrderQty
- {
- get { return orderQty; }
- set { orderQty = value; }
- }
- /// <summary>
- /// 交货量差方式(绝对值;百分比)
- /// </summary>
- [Description("交货量差方式(绝对值;百分比)")]
- [Nullable(true)]
- [DataLength(20)]
- public string DelvryRangeTpe
- {
- get { return delvryRangeTpe; }
- set { delvryRangeTpe = value; }
- }
- /// <summary>
- /// 交货量差下限
- /// </summary>
- [Description("交货量差下限")]
- [Nullable(true)]
- [DataLength(5)]
- public decimal? DelvryRangeMin
- {
- get { return delvryRangeMin; }
- set { delvryRangeMin = value; }
- }
- /// <summary>
- /// 交货量差上限
- /// </summary>
- [Description("交货量差上限")]
- [Nullable(true)]
- [DataLength(5)]
- public decimal? DelvryRangeMax
- {
- get { return delvryRangeMax; }
- set { delvryRangeMax = value; }
- }
- /// <summary>
- /// 最终用户(来源客户表)
- /// </summary>
- [Description("最终用户(来源客户表)")]
- [Nullable(true)]
- [DataLength(20)]
- public string FinalUser
- {
- get { return finalUser; }
- set { finalUser = value; }
- }
- /// <summary>
- /// 最终用户描述
- /// </summary>
- [Description("最终用户描述")]
- [Nullable(true)]
- [DataLength(100)]
- public string FinalUserDesc
- {
- get { return finalUserDesc; }
- set { finalUserDesc = value; }
- }
- /// <summary>
- /// 附加要求编码
- /// </summary>
- [Description("附加要求编码")]
- [Nullable(true)]
- [DataLength(16)]
- public string AddAskNo
- {
- get { return addAskNo; }
- set { addAskNo = value; }
- }
- /// <summary>
- /// 订货附加要求描述
- /// </summary>
- [Description("订货附加要求描述")]
- [Nullable(true)]
- [DataLength(4000)]
- public string OrderAddDesc
- {
- get { return orderAddDesc; }
- set { orderAddDesc = value; }
- }
- /// <summary>
- /// 备注
- /// </summary>
- [Description("备注")]
- [Nullable(true)]
- [DataLength(200)]
- public string Memo
- {
- get { return memo; }
- set { memo = value; }
- }
- /// <summary>
- /// 有效标志(1:有效,0:无效)
- /// </summary>
- [Description("有效标志(1:有效,0:无效)")]
- [Nullable(true)]
- [DataLength(1)]
- public string Validflag
- {
- get { return validflag; }
- set { validflag = value; }
- }
- /// <summary>
- /// 创建人
- /// </summary>
- [Description("创建人")]
- [Nullable(true)]
- [DataLength(20)]
- public string CreateName
- {
- get { return createName; }
- set { createName = value; }
- }
- /// <summary>
- /// 创建时间
- /// </summary>
- [Description("创建时间")]
- [Nullable(true)]
- public string CreateTime
- {
- get { return createTime; }
- set { createTime = value; }
- }
- /// <summary>
- /// 修改人
- /// </summary>
- [Description("修改人")]
- [Nullable(true)]
- [DataLength(20)]
- public string UpdateName
- {
- get { return updateName; }
- set { updateName = value; }
- }
- /// <summary>
- /// 修改时间
- /// </summary>
- [Description("修改时间")]
- [Nullable(true)]
- public string UpdateTime
- {
- get { return updateTime; }
- set { updateTime = value; }
- }
- /// <summary>
- /// 删除人
- /// </summary>
- [Description("删除人")]
- [Nullable(true)]
- [DataLength(20)]
- public string DeleteName
- {
- get { return deleteName; }
- set { deleteName = value; }
- }
- /// <summary>
- /// 删除时间
- /// </summary>
- [Description("删除时间")]
- [Nullable(true)]
- public string DeleteTime
- {
- get { return deleteTime; }
- set { deleteTime = value; }
- }
- }
- }
|