| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415 |
- using System;
- using System.ComponentModel;
- using System.IO;
- using System.Runtime.Serialization;
- using System.Runtime.Serialization.Formatters.Binary;
- using Core.Mes.Client.Comm.Attribute;
- namespace Core.StlMes.Client.Mcp.Control.Entity
- {
- [Serializable]
- /// <summary>
- /// 数据库表MCH_FINAL_CHECK_RESULT_D所对应的实体类(生成工具:代码生成工具3.0)
- /// 作者:朱少波 时间:2019-02-21
- /// </summary>
- public class MchFinalCheckResultDEntity
- {
- [Description("选择")]
- [Nullable(true)]
- [DataLength(20)]
- public bool Check { get; set; }
- /// <summary>
- /// 实绩编号
- /// </summary>
- private string resultNo = "";
- /// <summary>
- /// 材料号(管号)
- /// </summary>
- private string matNo = "";
- /// <summary>
- /// 喷印管号
- /// </summary>
- private decimal? measuringSeq = null;
- /// <summary>
- /// 逐支跟踪号
- /// </summary>
- private string barCode = "";
- /// <summary>
- /// 位置代码
- /// </summary>
- private string positionCode = "";
- /// <summary>
- /// 不合项代码
- /// </summary>
- private string unpassCode = "";
- /// <summary>
- /// 不合项
- /// </summary>
- private string unpassName = "";
- /// <summary>
- /// 不合描述
- /// </summary>
- private string unpassMemo = "";
- /// <summary>
- /// 0-合格 1-不合 2-废品
- /// </summary>
- private string station = "";
- /// <summary>
- /// 处置代码
- /// </summary>
- private string treatmentCode = "";
- /// <summary>
- /// 处置方式
- /// </summary>
- private string treatmentName = "";
- /// <summary>
- /// 位置
- /// </summary>
- private string positionName = "";
- /// <summary>
- /// 是否尺寸检验(光管)
- /// </summary>
- protected string isSizeCheck = "";
- /// <summary>
- /// 是否外观检验(光管)
- /// </summary>
- protected string isAppCheck = "";
- /// <summary>
- /// 0-合格 1-废品 (光管)
- /// </summary>
- private string replayStation = "";
- /// <summary>
- /// 喷印管号
- /// </summary>
- private decimal? replayMeasuringSeq = null;
- /// <summary>
- /// 实绩编号
- /// </summary>
- [Description("实绩编号")]
- [Nullable(false)]
- [DataLength(24)]
- public string ResultNo
- {
- get { return resultNo; }
- set { resultNo = value; }
- }
- /// <summary>
- /// 材料号(管号)
- /// </summary>
- [Description("材料号(管号)")]
- [Nullable(false)]
- [DataLength(20)]
- public string MatNo
- {
- get { return matNo; }
- set { matNo = value; }
- }
- /// <summary>
- /// 喷印管号
- /// </summary>
- [Description("喷印管号")]
- [Nullable(true)]
- [DataLength(10)]
- public decimal? MeasuringSeq
- {
- get { return measuringSeq; }
- set { measuringSeq = value; }
- }
- /// <summary>
- /// 逐支跟踪号
- /// </summary>
- [Description("逐支跟踪号")]
- [Nullable(true)]
- [DataLength(20)]
- public string BarCode
- {
- get { return barCode; }
- set { barCode = value; }
- }
- /// <summary>
- /// 位置代码
- /// </summary>
- [Description("位置代码")]
- [Nullable(false)]
- [DataLength(20)]
- public string PositionCode
- {
- get { return positionCode; }
- set { positionCode = value; }
- }
- /// <summary>
- /// 不合项代码
- /// </summary>
- [Description("不合项")]
- [Nullable(true)]
- [DataLength(20)]
- public string UnpassCode
- {
- get { return unpassCode; }
- set { unpassCode = value; }
- }
- /// <summary>
- /// 不合项
- /// </summary>
- [Description("不合项")]
- [Nullable(true)]
- [DataLength(20)]
- public string UnpassName
- {
- get { return unpassName; }
- set { unpassName = value; }
- }
- /// <summary>
- /// 不合描述
- /// </summary>
- [Description("不合描述")]
- [Nullable(true)]
- [DataLength(1)]
- public string UnpassMemo
- {
- get { return unpassMemo; }
- set { unpassMemo = value; }
- }
- /// <summary>
- /// 0-合格 1-不合 2-废品
- /// </summary>
- [Description("状态")]
- [Nullable(true)]
- [DataLength(1)]
- public string Station
- {
- get { return station; }
- set { station = value; }
- }
- /// <summary>
- /// 处置代码
- /// </summary>
- [Description("处置方式")]
- [Nullable(true)]
- [DataLength(20)]
- public string TreatmentCode
- {
- get { return treatmentCode; }
- set { treatmentCode = value; }
- }
- /// <summary>
- /// 处置方式
- /// </summary>
- [Description("处置方式")]
- [Nullable(true)]
- [DataLength(20)]
- public string TreatmentName
- {
- get { return treatmentName; }
- set { treatmentName = value; }
- }
- /// <summary>
- /// 位置
- /// </summary>
- [Description("位置")]
- [Nullable(false)]
- [DataLength(20)]
- public string PositionName
- {
- get { return positionName; }
- set { positionName = value; }
- }
- /// <summary>
- /// 责任单位代码
- /// </summary>
- private string responsibleCode = "";
- /// <summary>
- /// 责任单位
- /// </summary>
- private string responsibleName = "";
- /// <summary>
- /// 责任单位代码
- /// </summary>
- [Description("责任单位")]
- [Nullable(true)]
- [DataLength(40)]
- public string ResponsibleCode
- {
- get { return responsibleCode; }
- set { responsibleCode = value; }
- }
- /// <summary>
- /// 责任单位
- /// </summary>
- [Description("责任单位")]
- [Nullable(true)]
- [DataLength(40)]
- public string ResponsibleName
- {
- get { return responsibleName; }
- set { responsibleName = value; }
- }
- /// <summary>
- /// 处置代码(支)
- /// </summary>
- private string treatmentCode1 = "";
- /// <summary>
- /// 处置方式(支)
- /// </summary>
- private string treatmentName1 = "";
- /// <summary>
- /// 处置代码(支)
- /// </summary>
- [Description("处置方式(支)")]
- [Nullable(true)]
- [DataLength(40)]
- public string TreatmentCode1
- {
- get { return treatmentCode1; }
- set { treatmentCode1 = value; }
- }
- /// <summary>
- /// 处置方式(支)
- /// </summary>
- [Description("处置方式(支)")]
- [Nullable(true)]
- [DataLength(40)]
- public string TreatmentName1
- {
- get { return treatmentName1; }
- set { treatmentName1 = value; }
- }
- /// <summary>
- /// 是否尺寸检验(光管)
- /// </summary>
- [Description("是否尺寸检验")]
- [Nullable(true)]
- [DataLength(1)]
- public string IsSizeCheck
- {
- get { return isSizeCheck; }
- set { isSizeCheck = value; }
- }
- /// <summary>
- /// 是否外观检验(光管)
- /// </summary>
- [Description("是否外观检验")]
- [Nullable(true)]
- [DataLength(1)]
- public string IsAppCheck
- {
- get { return isAppCheck; }
- set { isAppCheck = value; }
- }
- /// <summary>
- /// 0-合格 1-废品 (光管)
- /// </summary>
- [Description("最终状态")]
- [Nullable(true)]
- [DataLength(1)]
- public string ReplayStation
- {
- get { return replayStation; }
- set { replayStation = value; }
- }
- private string scrapCode = "";
- /// <summary>
- /// 废品代码
- /// </summary>
- [Description("废品代码")]
- [Nullable(true)]
- [DataLength(1)]
- public string ScrapCode
- {
- get { return scrapCode; }
- set { scrapCode = value; }
- }
- private string scrapName = "";
- /// <summary>
- /// 废品代码
- /// </summary>
- [Description("废品原因")]
- [Nullable(true)]
- [DataLength(1)]
- public string ScrapName
- {
- get { return scrapName; }
- set { scrapName = value; }
- }
- /// <summary>
- /// 处置代码
- /// </summary>
- private string treatmentNo = "";
- /// <summary>
- /// 处置代码
- /// </summary>
- [Description("处置单号")]
- [Nullable(false)]
- [DataLength(40)]
- public string TreatmentNo
- {
- get { return treatmentNo; }
- set { treatmentNo = value; }
- }
-
- /// <summary>
- /// 最终管号
- /// </summary>
- [Description("最终管号")]
- [Nullable(false)]
- [DataLength(40)]
- public decimal? ReplayMeasuringSeq
- {
- get { return replayMeasuringSeq; }
- set { replayMeasuringSeq = value; }
- }
- public MchFinalCheckResultDEntity 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 MchFinalCheckResultDEntity;
- }
- }
- }
- }
|