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.ZGMil.Entity
{
///
/// 数据库表OFFLINE_PROCESS所对应的实体类(生成工具:代码生成工具3.0)
/// 作者:DESKTOP-QMNRTG1 时间:2023-04-19
///
public class OfflineProcessEntity
{
///
/// 实绩编号(机组+工序点代码+年月日+6位流水)
///
private string resultNo = "";
///
/// 产线代码
///
private string plineCode = "";
///
/// 产线描述
///
private string plineName = "";
///
/// 工序点代码(上料。。。。)
///
private string stationCode = "";
///
/// 工序点名称
///
private string stationDesc = "";
///
/// 炉批计划ID
///
private string heatPlanNo = "";
///
/// 热处理订单编号
///
private string proPlanId = "";
///
/// 热处理订单排产序号
///
private string gxPlanNo = "";
///
/// 判定炉号
///
private string judgeStoveNo = "";
///
/// 批号(炉批号)
///
private string batchNo = "";
///
/// 组号
///
private string batchGroudNo = "";
///
/// 冶炼炉号
///
private string stoveNo = "";
///
/// 标示炉号
///
private string flagStoveNo = "";
///
/// 产品标识(ABC)
///
private string target = "";
///
/// 工序代码
///
private string processCdoe = "";
///
/// 工序名称
///
private string processDesc = "";
///
/// 生产日期
///
private string createTime = "";
///
/// 品名代码
///
private string produccode = "";
///
/// 品名描述
///
private string producname = "";
///
/// 钢级(牌号)代码
///
private string steelcode = "";
///
/// 钢级(牌号)名称
///
private string steelname = "";
///
/// 钢种代码
///
private string gradecode = "";
///
/// 钢种名称
///
private string gradename = "";
///
/// 产品规格代码
///
private string specCode = "";
///
/// 产品规格描述
///
private string specName = "";
///
/// 扣型代码
///
private string modelCode = "";
///
/// 扣型描述
///
private string modelDesc = "";
///
/// 标准代码[最终成品标准]
///
private string stdCode = "";
///
/// 标准名称
///
private string stdName = "";
///
/// 标准类别代码
///
private string stdStyle = "";
///
/// 标准类别描述(PSL1....)
///
private string stdStyleDesc = "";
///
/// 主合同号
///
private string orderNo = "";
///
/// 主合同行号
///
private string orderSeq = "";
///
/// 工艺文件号
///
private string craftFileNo = "";
///
/// 客户编码
///
private string customerNo = "";
///
/// 客户名称
///
private string customerNm = "";
///
/// 离线支数
///
private decimal? offlineNum = null;
///
/// 离线重量
///
private decimal? offlineWt = null;
///
/// 返线支数
///
private decimal? reNum = null;
///
/// 返线重量
///
private decimal? reWt = null;
///
/// 组炉支数
///
private string groupNum = null;
///
/// 组炉重量
///
private decimal? groupWt = null;
///
/// 委托单号
///
private string subcontractNo = "";
///
/// 委托单号序号
///
private string subcontractNoSeq = "";
///
/// 委托支数
///
private decimal? subcontractNum = null;
///
/// 委托重量
///
private decimal? subcontractWt = null;
///
/// 委托时间
///
private string subcontractTime = "";
///
/// 委托人
///
private string subcontractName = "";
///
/// 委托回报合格支数
///
private decimal? subcontractcompleteNum = null;
///
/// 委托回报合格重量
///
private decimal? subcontractcompleteWt = null;
///
/// 委托回报废品支数
///
private decimal? hbFpNum = null;
///
/// 委托回报废品重量
///
private decimal? hbFpWt = null;
///
/// 委托回报时间
///
private string subcontractcompleteTime = "";
///
/// 委托回报人
///
private string subcontractcompleteName = "";
///
/// 离线时间
///
private string offlineTime = "";
///
/// 返线时间
///
private string reTime = "";
///
/// 离线原因
///
private string memo = "";
///
/// 一级原因
///
private string reason1 = "";
///
/// 二级原因
///
private string reason2 = "";
///
/// 三级原因
///
private string reason3 = "";
///
/// 分析结果
///
private string analysisResults = "";
///
/// 责任产线代码
///
private string plineCodeResponse = "";
///
/// 责任产线描述
///
private string plineNameResponse = "";
///
/// 冶炼产线代码
///
private string plineCodeA = "";
///
/// 冶炼产线描述
///
private string plineNameA = "";
///
/// 轧制产线代码
///
private string plineCodeD = "";
///
/// 轧制产线描述
///
private string plineNameD = "";
///
/// 镦拔扩产线代码
///
private string plineCodeE = "";
///
/// 镦拔扩产线描述
///
private string plineNameE = "";
///
/// 热处理产线代码
///
private string plineCodeF = "";
///
/// 热处理产线描述
///
private string plineNameF = "";
///
/// 交货结束日期/最迟交货日期
///
private string delvryEdate = "";
///
/// 离线天数
///
private string lxts = "";
///
/// 处置意见
///
private string disposalOpinion = "";
///
/// 处置意见进度
///
private string disposalOpinionSchedule = "";
///
/// 合同超期天数
///
private string htcq = "";
///
/// 合同超期天数
///
private string isAudit = "";
///
/// 实绩编号(机组+工序点代码+年月日+6位流水)
///
[Description("实绩编号")]
[Nullable(false)]
[DataLength(24)]
public string ResultNo
{
get { return resultNo; }
set { resultNo = value; }
}
///
/// 产线代码
///
[Description("处置意见")]
[Nullable(true)]
[DataLength(500)]
public string DisposalOpinion
{
get { return disposalOpinion; }
set { disposalOpinion = value; }
}
///
/// 产线代码
///
[Description("处置进度跟踪")]
[Nullable(true)]
[DataLength(500)]
public string DisposalOpinionSchedule
{
get { return disposalOpinionSchedule; }
set { disposalOpinionSchedule = value; }
}
///
/// 产线代码
///
[Description("评审状态")]
[Nullable(true)]
[DataLength(500)]
public string IsAudit
{
get { return isAudit == "0" ? "未发起评审" : (isAudit == "1" ? "已发起评审" : (isAudit == "2" ? "评审通过" : "")); }
set { isAudit = value; }
}
///
/// 产线代码
///
[Description("产线代码")]
[Nullable(true)]
[DataLength(20)]
public string PlineCode
{
get { return plineCode; }
set { plineCode = value; }
}
///
/// 产线描述
///
[Description("产线")]
[Nullable(true)]
[DataLength(40)]
public string PlineName
{
get { return plineName; }
set { plineName = value; }
}
///
/// 工序点代码(上料。。。。)
///
[Description("工序点代码")]
[Nullable(true)]
[DataLength(20)]
public string StationCode
{
get { return stationCode; }
set { stationCode = value; }
}
///
/// 工序点名称
///
[Description("工序点名称")]
[Nullable(true)]
[DataLength(40)]
public string StationDesc
{
get { return stationDesc; }
set { stationDesc = value; }
}
///
/// 炉批计划ID
///
[Description("炉批计划")]
[Nullable(true)]
[DataLength(20)]
public string HeatPlanNo
{
get { return heatPlanNo; }
set { heatPlanNo = value; }
}
///
/// 热处理订单编号
///
[Description("热处理订单编号")]
[Nullable(true)]
[DataLength(20)]
public string ProPlanId
{
get { return proPlanId; }
set { proPlanId = value; }
}
///
/// 热处理订单排产序号
///
[Description("热处理订单排产序号")]
[Nullable(true)]
[DataLength(10)]
public string GxPlanNo
{
get { return gxPlanNo; }
set { gxPlanNo = value; }
}
///
/// 判定炉号
///
[Description("判定炉号")]
[Nullable(true)]
[DataLength(20)]
public string JudgeStoveNo
{
get { return judgeStoveNo; }
set { judgeStoveNo = value; }
}
///
/// 批号(炉批号)
///
[Description("批号(炉批号)")]
[Nullable(true)]
[DataLength(20)]
public string BatchNo
{
get { return batchNo; }
set { batchNo = value; }
}
///
/// 组号
///
[Description("组号")]
[Nullable(true)]
[DataLength(3)]
public string BatchGroudNo
{
get { return batchGroudNo; }
set { batchGroudNo = value; }
}
///
/// 冶炼炉号
///
[Description("冶炼炉号")]
[Nullable(true)]
[DataLength(20)]
public string StoveNo
{
get { return stoveNo; }
set { stoveNo = value; }
}
///
/// 标示炉号
///
[Description("标示炉号")]
[Nullable(true)]
[DataLength(20)]
public string FlagStoveNo
{
get { return flagStoveNo; }
set { flagStoveNo = value; }
}
///
/// 产品标识(ABC)
///
[Description("产品标识(ABC)")]
[Nullable(true)]
[DataLength(20)]
public string Target
{
get { return target; }
set { target = value; }
}
///
/// 工序代码
///
[Description("工序代码")]
[Nullable(true)]
[DataLength(8)]
public string ProcessCdoe
{
get { return processCdoe; }
set { processCdoe = value; }
}
///
/// 工序名称
///
[Description("工序名称")]
[Nullable(true)]
[DataLength(20)]
public string ProcessDesc
{
get { return processDesc; }
set { processDesc = value; }
}
///
/// 生产日期
///
[Description("生产日期")]
[Nullable(true)]
public string CreateTime
{
get { return createTime; }
set { createTime = value; }
}
///
/// 品名代码
///
[Description("品名代码")]
[Nullable(true)]
[DataLength(20)]
public string Produccode
{
get { return produccode; }
set { produccode = value; }
}
///
/// 品名描述
///
[Description("品名")]
[Nullable(true)]
[DataLength(100)]
public string Producname
{
get { return producname; }
set { producname = 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(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(20)]
public string SpecCode
{
get { return specCode; }
set { specCode = value; }
}
///
/// 产品规格描述
///
[Description("规格")]
[Nullable(true)]
[DataLength(100)]
public string SpecName
{
get { return specName; }
set { specName = value; }
}
///
/// 扣型代码
///
[Description("扣型代码")]
[Nullable(true)]
[DataLength(20)]
public string ModelCode
{
get { return modelCode; }
set { modelCode = value; }
}
///
/// 扣型描述
///
[Description("扣型")]
[Nullable(true)]
[DataLength(100)]
public string ModelDesc
{
get { return modelDesc; }
set { modelDesc = value; }
}
///
/// 标准代码[最终成品标准]
///
[Description("标准代码[最终成品标准]")]
[Nullable(true)]
[DataLength(30)]
public string StdCode
{
get { return stdCode; }
set { stdCode = value; }
}
///
/// 标准名称
///
[Description("产品标准")]
[Nullable(true)]
[DataLength(256)]
public string StdName
{
get { return stdName; }
set { stdName = value; }
}
///
/// 标准类别代码
///
[Description("标准类别代码")]
[Nullable(true)]
[DataLength(20)]
public string StdStyle
{
get { return stdStyle; }
set { stdStyle = value; }
}
///
/// 标准类别描述(PSL1....)
///
[Description("标准类别")]
[Nullable(true)]
[DataLength(50)]
public string StdStyleDesc
{
get { return stdStyleDesc; }
set { stdStyleDesc = 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(40)]
public string CraftFileNo
{
get { return craftFileNo; }
set { craftFileNo = value; }
}
///
/// 客户编码
///
[Description("客户编码")]
[Nullable(true)]
[DataLength(10)]
public string CustomerNo
{
get { return customerNo; }
set { customerNo = value; }
}
///
/// 客户名称
///
[Description("客户名称")]
[Nullable(true)]
[DataLength(128)]
public string CustomerNm
{
get { return customerNm; }
set { customerNm = value; }
}
///
/// 离线支数
///
[Description("离线支数")]
[Nullable(true)]
[DataLength(6)]
public decimal? OfflineNum
{
get { return offlineNum; }
set { offlineNum = value; }
}
///
/// 离线重量
///
[Description("离线重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? OfflineWt
{
get { return offlineWt; }
set { offlineWt = value; }
}
///
/// 返线支数
///
[Description("返线支数")]
[Nullable(true)]
[DataLength(6)]
public decimal? ReNum
{
get { return reNum; }
set { reNum = value; }
}
///
/// 返线重量
///
[Description("返线重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? ReWt
{
get { return reWt; }
set { reWt = value; }
}
///
/// 组炉支数
///
[Description("是否组炉")]
[Nullable(true)]
[DataLength(6)]
public string GroupNum
{
get { return Double.Parse(groupNum) > 0 ? "是" : "否"; }
set { groupNum = value; }
}
///
/// 组炉重量
///
[Description("组炉重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? GroupWt
{
get { return groupWt; }
set { groupWt = value; }
}
///
/// 委托单号
///
[Description("委托单号")]
[Nullable(true)]
[DataLength(20)]
public string SubcontractNo
{
get { return subcontractNo; }
set { subcontractNo = value; }
}
///
/// 委托单号序号
///
[Description("委托单号序号")]
[Nullable(true)]
[DataLength(20)]
public string SubcontractNoSeq
{
get { return subcontractNoSeq; }
set { subcontractNoSeq = value; }
}
///
/// 委托支数
///
[Description("委托支数")]
[Nullable(true)]
[DataLength(6)]
public decimal? SubcontractNum
{
get { return subcontractNum; }
set { subcontractNum = value; }
}
///
/// 委托重量
///
[Description("委托重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? SubcontractWt
{
get { return subcontractWt; }
set { subcontractWt = value; }
}
///
/// 委托时间
///
[Description("委托时间")]
[Nullable(true)]
public string SubcontractTime
{
get { return subcontractTime; }
set { subcontractTime = value; }
}
///
/// 委托人
///
[Description("委托人")]
[Nullable(true)]
[DataLength(20)]
public string SubcontractName
{
get { return subcontractName; }
set { subcontractName = value; }
}
///
/// 委托回报合格支数
///
[Description("委托回报合格支数")]
[Nullable(true)]
[DataLength(6)]
public decimal? SubcontractcompleteNum
{
get { return subcontractcompleteNum; }
set { subcontractcompleteNum = value; }
}
///
/// 委托回报合格重量
///
[Description("委托回报合格重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? SubcontractcompleteWt
{
get { return subcontractcompleteWt; }
set { subcontractcompleteWt = value; }
}
///
/// 委托回报废品支数
///
[Description("委托回报废品支数")]
[Nullable(true)]
[DataLength(6)]
public decimal? HbFpNum
{
get { return hbFpNum; }
set { hbFpNum = value; }
}
///
/// 委托回报废品重量
///
[Description("委托回报废品重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? HbFpWt
{
get { return hbFpWt; }
set { hbFpWt = value; }
}
///
/// 委托回报时间
///
[Description("委托回报时间")]
[Nullable(true)]
public string SubcontractcompleteTime
{
get { return subcontractcompleteTime; }
set { subcontractcompleteTime = value; }
}
///
/// 委托回报人
///
[Description("委托回报人")]
[Nullable(true)]
[DataLength(20)]
public string SubcontractcompleteName
{
get { return subcontractcompleteName; }
set { subcontractcompleteName = value; }
}
///
/// 离线时间
///
[Description("离线时间")]
[Nullable(true)]
public string OfflineTime
{
get { return offlineTime; }
set { offlineTime = value; }
}
///
/// 返线时间
///
[Description("返线时间")]
[Nullable(true)]
public string ReTime
{
get { return reTime; }
set { reTime = value; }
}
///
/// 离线原因
///
[Description("离线原因")]
[Nullable(true)]
[DataLength(200)]
public string Memo
{
get { return memo; }
set { memo = value; }
}
///
/// 一级原因
///
[Description("一级原因")]
[Nullable(true)]
[DataLength(20)]
public string Reason1
{
get { return reason1; }
set { reason1 = value; }
}
///
/// 二级原因
///
[Description("二级原因")]
[Nullable(true)]
[DataLength(20)]
public string Reason2
{
get { return reason2; }
set { reason2 = value; }
}
///
/// 三级原因
///
[Description("三级原因")]
[Nullable(true)]
[DataLength(20)]
public string Reason3
{
get { return reason3; }
set { reason3 = value; }
}
///
/// 分析结果
///
[Description("分析结果")]
[Nullable(true)]
[DataLength(500)]
public string AnalysisResults
{
get { return analysisResults; }
set { analysisResults = value; }
}
///
/// 责任产线代码
///
[Description("责任产线代码")]
[Nullable(true)]
[DataLength(20)]
public string PlineCodeResponse
{
get { return plineCodeResponse; }
set { plineCodeResponse = value; }
}
///
/// 责任产线描述
///
[Description("责任产线")]
[Nullable(true)]
[DataLength(40)]
public string PlineNameResponse
{
get { return plineNameResponse; }
set { plineNameResponse = value; }
}
///
/// 冶炼产线代码
///
[Description("冶炼产线代码")]
[Nullable(true)]
[DataLength(20)]
public string PlineCodeA
{
get { return plineCodeA; }
set { plineCodeA = value; }
}
///
/// 冶炼产线描述
///
[Description("冶炼产线")]
[Nullable(true)]
[DataLength(40)]
public string PlineNameA
{
get { return plineNameA; }
set { plineNameA = value; }
}
///
/// 轧制产线代码
///
[Description("轧制产线代码")]
[Nullable(true)]
[DataLength(20)]
public string PlineCodeD
{
get { return plineCodeD; }
set { plineCodeD = value; }
}
///
/// 轧制产线描述
///
[Description("轧制产线")]
[Nullable(true)]
[DataLength(40)]
public string PlineNameD
{
get { return plineNameD; }
set { plineNameD = value; }
}
///
/// 镦拔扩产线代码
///
[Description("镦拔扩产线代码")]
[Nullable(true)]
[DataLength(20)]
public string PlineCodeE
{
get { return plineCodeE; }
set { plineCodeE = value; }
}
///
/// 镦拔扩产线描述
///
[Description("镦拔扩产线")]
[Nullable(true)]
[DataLength(40)]
public string PlineNameE
{
get { return plineNameE; }
set { plineNameE = value; }
}
///
/// 热处理产线代码
///
[Description("热处理产线代码")]
[Nullable(true)]
[DataLength(20)]
public string PlineCodeF
{
get { return plineCodeF; }
set { plineCodeF = value; }
}
///
/// 热处理产线描述
///
[Description("热处理产线")]
[Nullable(true)]
[DataLength(40)]
public string PlineNameF
{
get { return plineNameF; }
set { plineNameF = value; }
}
///
/// 交货结束日期/最迟交货日期
///
[Description("交货结束日期/最迟交货日期")]
[Nullable(true)]
public string DelvryEdate
{
get { return delvryEdate; }
set { delvryEdate = value; }
}
///
/// 离线天数
///
[Description("离线天数")]
[Nullable(true)]
public string Lxts
{
get { return lxts; }
set { lxts = value; }
}
///
/// 合同超期天数
///
[Description("合同超期天数")]
[Nullable(true)]
public string Htcq
{
get { return htcq; }
set { htcq = value; }
}
}
}