| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862 |
- 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.PnCost.Models
- {
- /// <summary>
- /// 数据库表COST_CALCULATION_A所对应的实体类(生成工具:代码生成工具3.0)
- /// 作者:doubi-PC 时间:2016-11-22
- /// </summary>
- public class CostCalculationAEntity
- {
- /// <summary>
- /// 排产年月
- /// </summary>
- private string yearMonth = "";
- /// <summary>
- /// 轧管订单编号
- /// </summary>
- private string proPlanId = "";
- /// <summary>
- /// 主合同行编码PK
- /// </summary>
- private string ordLnPk = "";
- /// <summary>
- /// DESGIN_KEY
- /// </summary>
- private string desginKey = "";
- /// <summary>
- /// 制程索引号
- /// </summary>
- private string indexSeq = "";
- /// <summary>
- /// BOM
- /// </summary>
- private string bom = "";
- /// <summary>
- /// 工艺文件序号
- /// </summary>
- private decimal? craftSeq = null;
- /// <summary>
- /// 电炉投入物料编码(配料方案)
- /// </summary>
- private string aInMaterialNo = "";
- /// <summary>
- /// 电炉产出物料编码
- /// </summary>
- private string aOutMaterialNo = "";
- /// <summary>
- /// 铸造投入物料编码
- /// </summary>
- private string bInMaterialNo = "";
- /// <summary>
- /// 铸造产出物料编码
- /// </summary>
- private string bOutMaterialNo = "";
- /// <summary>
- /// 锻造投入物料编码
- /// </summary>
- private string cInMaterialNo = "";
- /// <summary>
- /// 锻造产出物料编码
- /// </summary>
- private string cOutMaterialNo = "";
- /// <summary>
- /// 电炉产线
- /// </summary>
- private string aPline = "";
- /// <summary>
- /// 铸造产线
- /// </summary>
- private string bPline = "";
- /// <summary>
- /// 锻造产线
- /// </summary>
- private string cPline = "";
- /// <summary>
- /// 电炉小时能力(t/h)
- /// </summary>
- private decimal? aHrCapcty = null;
- /// <summary>
- /// 电炉成材率(%)
- /// </summary>
- private decimal? aPrdRate = null;
- /// <summary>
- /// 铸造小时能力(t/h)
- /// </summary>
- private decimal? bHrCapcty = null;
- /// <summary>
- /// 铸造成材率(%)
- /// </summary>
- private decimal? bPrdRate = null;
- /// <summary>
- /// 锻造小时能力(t/h)
- /// </summary>
- private decimal? cHrCapcty = null;
- /// <summary>
- /// 锻造成材率(%)
- /// </summary>
- private decimal? cPrdRate = null;
- /// <summary>
- /// 电炉总投料量
- /// </summary>
- private decimal? weigthST = null;
- /// <summary>
- /// 电炉排产量(产出量)
- /// </summary>
- private decimal? weigthSA = null;
- /// <summary>
- /// 铸造排产量(产出量)
- /// </summary>
- private decimal? weigthSB = null;
- /// <summary>
- /// 锻造排产量(产出量)
- /// </summary>
- private decimal? weigthSC = null;
- /// <summary>
- /// 轧管总投入量
- /// </summary>
- private decimal? inWeigthS = null;
- /// <summary>
- /// 电炉制造总成本(元)
- /// </summary>
- private decimal? aZzcbCost = null;
- /// <summary>
- /// 电炉返回金额(元)
- /// </summary>
- private decimal? aFhCost = null;
- /// <summary>
- /// 电炉折标后加工费(元)
- /// </summary>
- private decimal? aZbjgfCost = null;
- /// <summary>
- /// 铸造折标后加工费(元)
- /// </summary>
- private decimal? bZbjgfCost = null;
- /// <summary>
- /// 锻造折标后加工费(元)
- /// </summary>
- private decimal? cZbjgfCost = null;
- /// <summary>
- /// 电炉完全成本(元)
- /// </summary>
- private decimal? aZcbCost = null;
- /// <summary>
- /// 铸造完全成本(元)
- /// </summary>
- private decimal? bZcbCost = null;
- /// <summary>
- /// 锻造完全成本(元)
- /// </summary>
- private decimal? cZcbCost = null;
- /// <summary>
- /// 铸造制造总成本(元)
- /// </summary>
- private decimal? bZzcbCost = null;
- /// <summary>
- /// 铸造返回金额(元)
- /// </summary>
- private decimal? bFhCost = null;
- /// <summary>
- /// 锻造制造总成本(元)
- /// </summary>
- private decimal? cZzcbCost = null;
- /// <summary>
- /// 锻造返回金额(元)
- /// </summary>
- private decimal? cFhCost = null;
- /// <summary>
- /// 电炉投入物料描述
- /// </summary>
- private string aInMaterialDesc = "";
- /// <summary>
- /// 电炉产出物料描述
- /// </summary>
- private string aOutMaterialDesc = "";
- /// <summary>
- /// 铸造投入物料描述
- /// </summary>
- private string bInMaterialDesc = "";
- /// <summary>
- /// 铸造产出物料描述
- /// </summary>
- private string bOutMaterialDesc = "";
- /// <summary>
- /// 锻造投入物料描述
- /// </summary>
- private string cInMaterialDesc = "";
- /// <summary>
- /// 锻造产出物料描述
- /// </summary>
- private string cOutMaterialDesc = "";
- /// <summary>
- /// 品名描述
- /// </summary>
- private string producname = "";
- /// <summary>
- /// 钢级(牌号)名称
- /// </summary>
- private string steelname = "";
- /// <summary>
- /// 标准类别描述
- /// </summary>
- private string stdStyleDesc = "";
- /// <summary>
- /// 产品规格描述
- /// </summary>
- private string specName = "";
- /// <summary>
- /// 扣型描述
- /// </summary>
- private string modelDesc = "";
- /// <summary>
- /// 合同号/行号
- /// </summary>
- private string orderNo = "";
- /// <summary>
- /// 客户名称
- /// </summary>
- private string customerNm = "";
- /// <summary>
- /// 销售组织描述
- /// </summary>
- private string saleOrgDesc = "";
- /// <summary>
- /// 排产年月
- /// </summary>
- [Description("排产年月")]
- [Nullable(false)]
- [DataLength(6)]
- public string YearMonth
- {
- get { return yearMonth; }
- set { yearMonth = value; }
- }
- /// <summary>
- /// 轧管订单编号
- /// </summary>
- [Description("轧管订单编号")]
- [Nullable(false)]
- [DataLength(20)]
- public string ProPlanId
- {
- get { return proPlanId; }
- set { proPlanId = value; }
- }
- /// <summary>
- /// 主合同行编码PK
- /// </summary>
- [Description("主合同行编码PK")]
- [Nullable(true)]
- [DataLength(35)]
- public string OrdLnPk
- {
- get { return ordLnPk; }
- set { ordLnPk = value; }
- }
- /// <summary>
- /// DESGIN_KEY
- /// </summary>
- [Description("DESGIN_KEY")]
- [Nullable(true)]
- [DataLength(40)]
- public string DesginKey
- {
- get { return desginKey; }
- set { desginKey = value; }
- }
- /// <summary>
- /// 制程索引号
- /// </summary>
- [Description("制程索引号")]
- [Nullable(true)]
- [DataLength(32)]
- public string IndexSeq
- {
- get { return indexSeq; }
- set { indexSeq = value; }
- }
- /// <summary>
- /// BOM
- /// </summary>
- [Description("BOM")]
- [Nullable(true)]
- [DataLength(40)]
- public string Bom
- {
- get { return bom; }
- set { bom = value; }
- }
- /// <summary>
- /// 工艺文件序号
- /// </summary>
- [Description("工艺文件序号")]
- [Nullable(true)]
- [DataLength(5)]
- public decimal? CraftSeq
- {
- get { return craftSeq; }
- set { craftSeq = value; }
- }
- /// <summary>
- /// 电炉投入物料编码(配料方案)
- /// </summary>
- [Description("投入物料编码")]
- [Nullable(true)]
- [DataLength(30)]
- public string AInMaterialNo
- {
- get { return aInMaterialNo; }
- set { aInMaterialNo = value; }
- }
- /// <summary>
- /// 电炉产出物料编码
- /// </summary>
- [Description("产出物料编码")]
- [Nullable(true)]
- [DataLength(30)]
- public string AOutMaterialNo
- {
- get { return aOutMaterialNo; }
- set { aOutMaterialNo = value; }
- }
- /// <summary>
- /// 铸造投入物料编码
- /// </summary>
- [Description("投入物料编码 ")]
- [Nullable(true)]
- [DataLength(30)]
- public string BInMaterialNo
- {
- get { return bInMaterialNo; }
- set { bInMaterialNo = value; }
- }
- /// <summary>
- /// 铸造产出物料编码
- /// </summary>
- [Description("产出物料编码")]
- [Nullable(true)]
- [DataLength(30)]
- public string BOutMaterialNo
- {
- get { return bOutMaterialNo; }
- set { bOutMaterialNo = value; }
- }
- /// <summary>
- /// 锻造投入物料编码
- /// </summary>
- [Description("投入物料编码 ")]
- [Nullable(true)]
- [DataLength(30)]
- public string CInMaterialNo
- {
- get { return cInMaterialNo; }
- set { cInMaterialNo = value; }
- }
- /// <summary>
- /// 锻造产出物料编码
- /// </summary>
- [Description("产出物料编码")]
- [Nullable(true)]
- [DataLength(30)]
- public string COutMaterialNo
- {
- get { return cOutMaterialNo; }
- set { cOutMaterialNo = value; }
- }
- /// <summary>
- /// 电炉产线
- /// </summary>
- [Description("产线")]
- [Nullable(true)]
- [DataLength(20)]
- public string APline
- {
- get { return aPline; }
- set { aPline = value; }
- }
- /// <summary>
- /// 铸造产线
- /// </summary>
- [Description("产线")]
- [Nullable(true)]
- [DataLength(20)]
- public string BPline
- {
- get { return bPline; }
- set { bPline = value; }
- }
- /// <summary>
- /// 锻造产线
- /// </summary>
- [Description("产线")]
- [Nullable(true)]
- [DataLength(20)]
- public string CPline
- {
- get { return cPline; }
- set { cPline = value; }
- }
- /// <summary>
- /// 电炉小时能力(t/h)
- /// </summary>
- [Description("小时能力(小时/炉)")]
- [Nullable(true)]
- [DataLength(8)]
- public decimal? AHrCapcty
- {
- get { return aHrCapcty; }
- set { aHrCapcty = value; }
- }
- /// <summary>
- /// 电炉成材率(%)
- /// </summary>
- [Description("成材率(%)")]
- [Nullable(true)]
- [DataLength(4)]
- public decimal? APrdRate
- {
- get { return aPrdRate; }
- set { aPrdRate = value; }
- }
- /// <summary>
- /// 铸造小时能力(t/h)
- /// </summary>
- [Description("小时能力(小时/炉)")]
- [Nullable(true)]
- [DataLength(8)]
- public decimal? BHrCapcty
- {
- get { return bHrCapcty; }
- set { bHrCapcty = value; }
- }
- /// <summary>
- /// 铸造成材率(%)
- /// </summary>
- [Description("成材率(%)")]
- [Nullable(true)]
- [DataLength(4)]
- public decimal? BPrdRate
- {
- get { return bPrdRate; }
- set { bPrdRate = value; }
- }
- /// <summary>
- /// 锻造小时能力(t/h)
- /// </summary>
- [Description("小时能力(支/小时)")]
- [Nullable(true)]
- [DataLength(8)]
- public decimal? CHrCapcty
- {
- get { return cHrCapcty; }
- set { cHrCapcty = value; }
- }
- /// <summary>
- /// 锻造成材率(%)
- /// </summary>
- [Description("成材率(%)")]
- [Nullable(true)]
- [DataLength(4)]
- public decimal? CPrdRate
- {
- get { return cPrdRate; }
- set { cPrdRate = value; }
- }
- /// <summary>
- /// 电炉总投料量
- /// </summary>
- [Description("总投料量(t)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? WeigthST
- {
- get { return weigthST; }
- set { weigthST = value; }
- }
- /// <summary>
- /// 电炉排产量(产出量)
- /// </summary>
- [Description("排产量(t)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? WeigthSA
- {
- get { return weigthSA; }
- set { weigthSA = value; }
- }
- /// <summary>
- /// 铸造排产量(产出量)
- /// </summary>
- [Description("排产量(t)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? WeigthSB
- {
- get { return weigthSB; }
- set { weigthSB = value; }
- }
- /// <summary>
- /// 锻造排产量(产出量)
- /// </summary>
- [Description("排产量(t)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? WeigthSC
- {
- get { return weigthSC; }
- set { weigthSC = value; }
- }
- /// <summary>
- /// 轧管总投入量
- /// </summary>
- [Description("轧管总投入量(t)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? InWeigthS
- {
- get { return inWeigthS; }
- set { inWeigthS = value; }
- }
- /// <summary>
- /// 电炉制造总成本(元)
- /// </summary>
- [Description("制造总成本(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? AZzcbCost
- {
- get { return aZzcbCost; }
- set { aZzcbCost = value; }
- }
- /// <summary>
- /// 电炉返回金额(元)
- /// </summary>
- [Description("返回金额(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? AFhCost
- {
- get { return aFhCost; }
- set { aFhCost = value; }
- }
- /// <summary>
- /// 电炉折标后加工费(元)
- /// </summary>
- [Description("折标后加工费(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? AZbjgfCost
- {
- get { return aZbjgfCost; }
- set { aZbjgfCost = value; }
- }
- /// <summary>
- /// 铸造折标后加工费(元)
- /// </summary>
- [Description("折标后加工费(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? BZbjgfCost
- {
- get { return bZbjgfCost; }
- set { bZbjgfCost = value; }
- }
- /// <summary>
- /// 锻造折标后加工费(元)
- /// </summary>
- [Description("折标后加工费(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? CZbjgfCost
- {
- get { return cZbjgfCost; }
- set { cZbjgfCost = value; }
- }
- /// <summary>
- /// 电炉完全成本(元)
- /// </summary>
- [Description("完全成本(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? AZcbCost
- {
- get { return aZcbCost; }
- set { aZcbCost = value; }
- }
- /// <summary>
- /// 铸造完全成本(元)
- /// </summary>
- [Description("完全成本(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? BZcbCost
- {
- get { return bZcbCost; }
- set { bZcbCost = value; }
- }
- /// <summary>
- /// 锻造完全成本(元)
- /// </summary>
- [Description("完全成本(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? CZcbCost
- {
- get { return cZcbCost; }
- set { cZcbCost = value; }
- }
- /// <summary>
- /// 铸造制造总成本(元)
- /// </summary>
- [Description("制造总成本(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? BZzcbCost
- {
- get { return bZzcbCost; }
- set { bZzcbCost = value; }
- }
- /// <summary>
- /// 铸造返回金额(元)
- /// </summary>
- [Description("返回金额(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? BFhCost
- {
- get { return bFhCost; }
- set { bFhCost = value; }
- }
- /// <summary>
- /// 锻造制造总成本(元)
- /// </summary>
- [Description("制造总成本(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? CZzcbCost
- {
- get { return cZzcbCost; }
- set { cZzcbCost = value; }
- }
- /// <summary>
- /// 锻造返回金额(元)
- /// </summary>
- [Description("返回金额(元)")]
- [Nullable(true)]
- [DataLength(15)]
- public decimal? CFhCost
- {
- get { return cFhCost; }
- set { cFhCost = value; }
- }
- /// <summary>
- /// 电炉投入物料描述
- /// </summary>
- [Description("投入物料")]
- [Nullable(true)]
- [DataLength(100)]
- public string AInMaterialDesc
- {
- get { return aInMaterialDesc; }
- set { aInMaterialDesc = value; }
- }
- /// <summary>
- /// 电炉产出物料描述
- /// </summary>
- [Description("产出物料")]
- [Nullable(true)]
- [DataLength(100)]
- public string AOutMaterialDesc
- {
- get { return aOutMaterialDesc; }
- set { aOutMaterialDesc = value; }
- }
- /// <summary>
- /// 铸造投入物料描述
- /// </summary>
- [Description("投入物料")]
- [Nullable(true)]
- [DataLength(100)]
- public string BInMaterialDesc
- {
- get { return bInMaterialDesc; }
- set { bInMaterialDesc = value; }
- }
- /// <summary>
- /// 铸造产出物料描述
- /// </summary>
- [Description("产出物料")]
- [Nullable(true)]
- [DataLength(100)]
- public string BOutMaterialDesc
- {
- get { return bOutMaterialDesc; }
- set { bOutMaterialDesc = value; }
- }
- /// <summary>
- /// 锻造投入物料描述
- /// </summary>
- [Description("投入物料")]
- [Nullable(true)]
- [DataLength(100)]
- public string CInMaterialDesc
- {
- get { return cInMaterialDesc; }
- set { cInMaterialDesc = value; }
- }
- /// <summary>
- /// 锻造产出物料描述
- /// </summary>
- [Description("产出物料")]
- [Nullable(true)]
- [DataLength(100)]
- public string COutMaterialDesc
- {
- get { return cOutMaterialDesc; }
- set { cOutMaterialDesc = value; }
- }
- /// <summary>
- /// 品名描述
- /// </summary>
- [Description("品名")]
- [Nullable(true)]
- [DataLength(100)]
- public string Producname
- {
- get { return producname; }
- set { producname = value; }
- }
- /// <summary>
- /// 钢级(牌号)名称
- /// </summary>
- [Description("钢级(牌号)")]
- [Nullable(true)]
- [DataLength(100)]
- public string Steelname
- {
- get { return steelname; }
- set { steelname = value; }
- }
- /// <summary>
- /// 标准类别描述
- /// </summary>
- [Description("标准类别")]
- [Nullable(true)]
- [DataLength(50)]
- public string StdStyleDesc
- {
- get { return stdStyleDesc; }
- set { stdStyleDesc = value; }
- }
- /// <summary>
- /// 产品规格描述
- /// </summary>
- [Description("产品规格")]
- [Nullable(true)]
- [DataLength(100)]
- public string SpecName
- {
- get { return specName; }
- set { specName = value; }
- }
- /// <summary>
- /// 扣型描述
- /// </summary>
- [Description("扣型")]
- [Nullable(true)]
- [DataLength(100)]
- public string ModelDesc
- {
- get { return modelDesc; }
- set { modelDesc = value; }
- }
- /// <summary>
- /// 合同号/行号
- /// </summary>
- [Description("合同号/行号")]
- [Nullable(true)]
- [DataLength(25)]
- public string OrderNo
- {
- get { return orderNo; }
- set { orderNo = value; }
- }
- /// <summary>
- /// 客户名称
- /// </summary>
- [Description("客户名称")]
- [Nullable(true)]
- [DataLength(60)]
- public string CustomerNm
- {
- get { return customerNm; }
- set { customerNm = value; }
- }
- /// <summary>
- /// 销售组织描述
- /// </summary>
- [Description("销售组织")]
- [Nullable(true)]
- [DataLength(20)]
- public string SaleOrgDesc
- {
- get { return saleOrgDesc; }
- set { saleOrgDesc = value; }
- }
- }
- }
|