using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using Newtonsoft.Json;
namespace com.steering.mes.mcp.entity
{
[Serializable]
///
/// 数据库表MCH_CHAMFERING_RESULT所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/)
/// 作者:tgcx-test 时间:2018-10-15
///
public class MchChamferingResultEntity
{
///
/// 坡口角度
///
private string angleVal = "";
///
/// 结算日期(年月)
///
private string balYearMonth = "";
///
/// 批号
///
private string batchNo = "";
///
/// 创建时间
///
private string createTime = "";
///
/// 切斜值
///
private string cutVal = "";
///
/// 钝边
///
private string edgeVal = "";
///
/// 废品支数
///
private decimal? failNum;
///
/// 废品重量
///
private decimal? failWt;
///
/// 炉计划ID
///
private string heatPlanNo = "";
///
/// 是否热处理监制
///
private string ifMonitorRcl = "";
///
/// 判定炉号
///
private string judgeStoveNo = "";
///
/// 分切数
///
private decimal? outnumCut;
///
/// 产线代码
///
private string plineCode = "";
///
/// 产线描述
///
private string plineName = "";
///
/// 监制编号
///
private string prdcrNo = "";
///
/// 监制人
///
private string producer = "";
///
/// 监制到场时间
///
private string producerTime = "";
///
/// 操作班组
///
private string proGroup = "";
///
/// 作业支数
///
private decimal? proNum;
///
/// 操作班次
///
private string proShift = "";
///
/// 操作时间
///
private string proTime = "";
///
/// 操作人
///
private string proUser = "";
///
/// 作业重量
///
private decimal? proWt;
///
/// 生产(年月日)
///
private string proYearMonthDay = "";
///
/// 实绩编号(机组+工序点代码+年月日+6位流水)
///
private string resultNo = "";
///
/// 0-1#机(东端) 1-2#机(西端)
///
private string machineNo = "";
///
/// 返修支数
///
private decimal? reProNum = null;
///
/// 返修重量
///
private decimal? reProWt = null;
///
/// 备注
///
private string memo = "";
///
/// 责任人
///
private string responsible = "";
///
/// 报告地址
///
private string reportPath = "";
///
/// 检测记录
///
private decimal? testRecord = null;
///
/// 合格支数
///
private decimal? qualifiedNum = null;
///
/// 合格重量
///
private decimal? qualifiedWt = null;
///
/// 实绩编号(机组+工序点代码+年月日+6位流水)
///
[Description("实绩编号)")]
[JsonProperty("resultNo")]
public string ResultNo
{
get { return resultNo; }
set { resultNo = value; }
}
///
/// 炉计划ID
///
[Description("炉计划ID")]
[JsonProperty("heatPlanNo")]
public string HeatPlanNo
{
get { return heatPlanNo; }
set { heatPlanNo = value; }
}
///
/// 批号
///
[Description("批号")]
[JsonProperty("batchNo")]
public string BatchNo
{
get { return batchNo; }
set { batchNo = value; }
}
///
/// 产线代码
///
[Description("产线代码")]
[JsonProperty("plineCode")]
public string PlineCode
{
get { return plineCode; }
set { plineCode = value; }
}
///
/// 产线描述
///
[Description("产线描述")]
[JsonProperty("plineName")]
public string PlineName
{
get { return plineName; }
set { plineName = value; }
}
///
/// 是否热处理监制
///
[Description("是否监制")]
[JsonProperty("ifMonitorRcl")]
public string IfMonitorRcl
{
get { return ifMonitorRcl; }
set { ifMonitorRcl = value; }
}
///
/// 监制编号
///
[Description("监制编号")]
[JsonProperty("prdcrNo")]
public string PrdcrNo
{
get { return prdcrNo; }
set { prdcrNo = value; }
}
///
/// 监制人
///
[Description("监制人")]
[JsonProperty("producer")]
public string Producer
{
get { return producer; }
set { producer = value; }
}
///
/// 监制到场时间
///
[Description("监制到场时间")]
[JsonProperty("producerTime")]
public string ProducerTime
{
get { return producerTime; }
set { producerTime = value; }
}
///
/// 坡口角度
///
[Description("坡口角度")]
[JsonProperty("angleVal")]
public string AngleVal
{
get { return angleVal; }
set { angleVal = value; }
}
///
/// 钝边
///
[Description("钝边")]
[JsonProperty("edgeVal")]
public string EdgeVal
{
get { return edgeVal; }
set { edgeVal = value; }
}
///
/// 切斜值
///
[Description("切斜值")]
[JsonProperty("cutVal")]
public string CutVal
{
get { return cutVal; }
set { cutVal = value; }
}
///
/// 分切数
///
[Description("分切数")]
[JsonProperty("outnumCut")]
public decimal? OutnumCut
{
get { return outnumCut; }
set { outnumCut = value; }
}
///
/// 操作人
///
[Description("操作人")]
[JsonProperty("proUser")]
public string ProUser
{
get { return proUser; }
set { proUser = value; }
}
///
/// 作业支数
///
[Description("作业支数")]
[JsonProperty("proNum")]
public decimal? ProNum
{
get { return proNum; }
set { proNum = value; }
}
///
/// 作业重量
///
[Description("作业重量")]
[JsonProperty("proWt")]
public decimal? ProWt
{
get { return proWt; }
set { proWt = value; }
}
///
/// 废品支数
///
[Description("废品支数")]
[JsonProperty("failNum")]
public decimal? FailNum
{
get { return failNum; }
set { failNum = value; }
}
///
/// 废品重量
///
[Description("废品重量")]
[JsonProperty("failWt")]
public decimal? FailWt
{
get { return failWt; }
set { failWt = value; }
}
///
/// 生产(年月日)
///
[Description("生产(年月日)")]
[JsonProperty("proYearMonthDay")]
public string ProYearMonthDay
{
get { return proYearMonthDay; }
set { proYearMonthDay = value; }
}
///
/// 结算日期(年月)
///
[Description("结算日期(年月)")]
[JsonProperty("balYearMonth")]
public string BalYearMonth
{
get { return balYearMonth; }
set { balYearMonth = value; }
}
///
/// 操作班次
///
[Description("班次")]
[JsonProperty("proShift")]
public string ProShift
{
get { return proShift; }
set { proShift = value; }
}
///
/// 操作班组
///
[Description("班组")]
[JsonProperty("proGroup")]
public string ProGroup
{
get { return proGroup; }
set { proGroup = value; }
}
///
/// 创建时间
///
[Description("创建时间")]
[JsonProperty("createTime")]
public string CreateTime
{
get { return createTime; }
set { createTime = value; }
}
///
/// 操作时间
///
[Description("操作时间")]
[JsonProperty("proTime")]
public string ProTime
{
get { return proTime; }
set { proTime = value; }
}
///
/// 判定炉号
///
[Description("判定炉号")]
[JsonProperty("judgeStoveNo")]
public string JudgeStoveNo
{
get { return judgeStoveNo; }
set { judgeStoveNo = value; }
}
///
/// 0-1#机(东端) 1-2#机(西端)
///
[Description("机组")]
[JsonProperty("machineNo")]
public string MachineNo
{
get { return machineNo; }
set { machineNo = value; }
}
///
/// 返修支数
///
[Description("返修支数")]
[JsonProperty("reProNum")]
public decimal? ReProNum
{
get { return reProNum; }
set { reProNum = value; }
}
///
/// 返修重量
///
[Description("返修重量")]
[JsonProperty("reProWt")]
public decimal? ReProWt
{
get { return reProWt; }
set { reProWt = value; }
}
///
/// 备注
///
[Description("备注")]
[JsonProperty("memo")]
public string Memo
{
get { return memo; }
set { memo = value; }
}
///
/// 责任人
///
[Description("责任人")]
[JsonProperty("responsible")]
public string Responsible
{
get { return responsible; }
set { responsible = value; }
}
///
/// 报告地址
///
[Description("报告地址")]
[JsonProperty("reportPath")]
public string ReportPath
{
get { return reportPath; }
set { reportPath = value; }
}
///
/// 检测记录
///
[Description("检测记录")]
[JsonProperty("testRecord")]
public decimal? TestRecord
{
get { return testRecord; }
set { testRecord = value; }
}
///
/// 合格支数
///
[Description("合格支数")]
[JsonProperty("qualifiedNum")]
public decimal? QualifiedNum
{
get { return qualifiedNum; }
set { qualifiedNum = value; }
}
///
/// 合格重量
///
[Description("合格重量")]
[JsonProperty("qualifiedWt")]
public decimal? QualifiedWt
{
get { return qualifiedWt; }
set { qualifiedWt = value; }
}
[Description("合同号")]
public string OrderNo { get; set; }
public MchChamferingResultEntity Clone()
{
using (var memStream = new MemoryStream())
{
var binaryFormatter = new BinaryFormatter(null,
new StreamingContext(StreamingContextStates.Clone));
binaryFormatter.Serialize(memStream, this);
memStream.Seek(0, SeekOrigin.Begin);
return binaryFormatter.Deserialize(memStream) as MchChamferingResultEntity;
}
}
}
}