/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此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_inboundorder_detail_hty")] public class Dt_inboundorder_detail_hty:BaseEntity { /// ///主键ID /// [Key] [Display(Name ="主键ID")] [Column(TypeName="uniqueidentifier")] [Required(AllowEmptyStrings=false)] public Guid inorderdtl_id { get; set; } /// ///订单头id /// [Display(Name ="订单头id")] [MaxLength(80)] [Column(TypeName="nvarchar(80)")] [Required(AllowEmptyStrings=false)] public string inorderdtl_headid { get; set; } /// ///订单号 /// [Display(Name ="订单号")] [MaxLength(60)] [Column(TypeName="nvarchar(60)")] [Required(AllowEmptyStrings=false)] public string inorderdtl_number { get; set; } /// ///行号 /// [Display(Name ="行号")] [Column(TypeName="int")] public int? inorderdtl_item { get; set; } /// ///物料id /// [Display(Name ="物料id")] [MaxLength(80)] [Column(TypeName="nvarchar(80)")] [Required(AllowEmptyStrings=false)] public string inorderdtl_materielid { get; set; } /// ///订单数量 /// [Display(Name ="订单数量")] [DisplayFormat(DataFormatString="18,2")] [Column(TypeName="decimal")] [Required(AllowEmptyStrings=false)] public decimal inorderdtl_qty { get; set; } /// ///组盘数量 /// [Display(Name ="组盘数量")] [DisplayFormat(DataFormatString="18,2")] [Column(TypeName="decimal")] public decimal? inorderdtl_progressqty { get; set; } /// ///完成数量 /// [Display(Name ="完成数量")] [DisplayFormat(DataFormatString="18,2")] [Column(TypeName="decimal")] public decimal? inorderdtl_finishedqty { get; set; } /// ///质检类型 /// [Display(Name ="质检类型")] [MaxLength(20)] [Column(TypeName="nvarchar(20)")] public string inorderdtl_checktype { get; set; } /// ///当前状态 /// [Display(Name ="当前状态")] [MaxLength(20)] [Column(TypeName="nvarchar(20)")] [Required(AllowEmptyStrings=false)] public string inorderdtl_state { get; set; } /// ///签出对象 /// [Display(Name ="签出对象")] [MaxLength(40)] [Column(TypeName="nvarchar(40)")] public string inorderdtl_checkoutby { get; set; } /// ///所属仓库 /// [Display(Name ="所属仓库")] [MaxLength(80)] [Column(TypeName="nvarchar(80)")] public string inorderdtl_areaid { get; set; } /// ///批次号(内部) /// [Display(Name ="批次号(内部)")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string inorderdtl_batch { get; set; } /// ///批次号(供应商) /// [Display(Name ="批次号(供应商)")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string inorderdtl_batch_cus { get; set; } /// ///供应商信息 /// [Display(Name ="供应商信息")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string inorderdtl_supply { get; set; } /// ///是否上传ERP /// [Display(Name ="是否上传ERP")] [Column(TypeName="bit")] public bool? inorderdtl_isupload { get; set; } /// ///上传时间 /// [Display(Name ="上传时间")] [Column(TypeName="datetime")] public DateTime? inorderdtl_loadtime { get; set; } /// ///生产日期 /// [Display(Name ="生产日期")] [Column(TypeName="datetime")] public DateTime? inorderdtl_prodtdate { get; set; } /// ///到期日期 /// [Display(Name ="到期日期")] [Column(TypeName="datetime")] public DateTime? inorderdtl_expiredate { get; set; } /// ///部门 /// [Display(Name ="部门")] [MaxLength(40)] [Column(TypeName="nvarchar(40)")] public string inorderdtl_depart { get; set; } /// ///创建者 /// [Display(Name ="创建者")] [MaxLength(40)] [Column(TypeName="nvarchar(40)")] [Required(AllowEmptyStrings=false)] public string inorderdtl_creator { get; set; } /// ///创建时间 /// [Display(Name ="创建时间")] [Column(TypeName="datetime")] [Required(AllowEmptyStrings=false)] public DateTime inorderdtl_createtime { get; set; } /// ///完成时间 /// [Display(Name ="完成时间")] [Column(TypeName="datetime")] [Required(AllowEmptyStrings=false)] public DateTime inorderdtl_finishtime { get; set; } /// ///操作类型 /// [Display(Name ="操作类型")] [MaxLength(20)] [Column(TypeName="nvarchar(20)")] [Required(AllowEmptyStrings=false)] public string inorderdtl_operatetype { get; set; } /// ///执行等级 /// [Display(Name ="执行等级")] [Column(TypeName="int")] [Required(AllowEmptyStrings=false)] public int inorderdtl_grade { get; set; } /// ///操作者 /// [Display(Name ="操作者")] [MaxLength(40)] [Column(TypeName="nvarchar(40)")] [Required(AllowEmptyStrings=false)] public string inorderdtl_compeletor { get; set; } /// ///原表体id /// [Display(Name ="原表体id")] [MaxLength(80)] [Column(TypeName="nvarchar(80)")] public string inorderdtl_sourceid { get; set; } } }