/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此Model
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Entity.SystemModels;
namespace WIDESEA_Entity.DomainModels
{
[Entity(TableCnName = "工单子表历史",TableName = "dt_mes_detail_hty")]
public partial class dt_mes_detail_hty:BaseEntity
{
///
///工单明细ID
///
[Key]
[Display(Name ="工单明细ID")]
[Column(TypeName="uniqueidentifier")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public Guid mes_detail_id { get; set; }
///
///工单编号
///
[Display(Name ="工单编号")]
[MaxLength(40)]
[Column(TypeName="nvarchar(40)")]
[Editable(true)]
public string jobID { get; set; }
///
///炉代号
///
[Display(Name ="炉代号")]
[MaxLength(20)]
[Column(TypeName="nvarchar(20)")]
[Editable(true)]
public string heatID { get; set; }
///
///钢坯号
///
[Display(Name ="钢坯号")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int? billetID { get; set; }
///
///车轮SN号
///
[Display(Name ="车轮SN号")]
[MaxLength(50)]
[Column(TypeName="nvarchar(50)")]
[Editable(true)]
public string SN { get; set; }
///
///热处理批次
///
[Display(Name ="热处理批次")]
[MaxLength(30)]
[Column(TypeName="nvarchar(30)")]
[Editable(true)]
public string heatBatchID { get; set; }
///
///工单头表ID
///
[Display(Name ="工单头表ID")]
[Column(TypeName="uniqueidentifier")]
[Editable(true)]
public Guid? mes_headID { get; set; }
///
///完成时间
///
[Display(Name ="完成时间")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? FinishTime { get; set; }
///
///操作类型
///
[Display(Name ="操作类型")]
[MaxLength(10)]
[Column(TypeName="nvarchar(10)")]
[Editable(true)]
public string operatetype { get; set; }
///
///操作者
///
[Display(Name ="操作者")]
[MaxLength(20)]
[Column(TypeName="nvarchar(20)")]
[Editable(true)]
public string compeletor { get; set; }
///
///工单状态
///
[Display(Name = "工单状态")]
[MaxLength(20)]
[Column(TypeName = "nvarchar(20)")]
[Editable(true)]
public string Status { get; set; }
///
///操作时间
///
[Display(Name = "操作时间")]
[Column(TypeName = "datetime")]
[Editable(true)]
public DateTime? completedate { get; set; }
}
}