/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此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 = "VV_InboundOrderInfo")] public class VV_InboundOrderInfo:BaseEntity { /// ///主键 /// [Key] [Display(Name ="主键")] [Column(TypeName="uniqueidentifier")] [Required(AllowEmptyStrings=false)] public Guid inorderdtl_id { get; set; } /// ///订单头ID /// [Display(Name ="订单头ID")] [Column(TypeName="uniqueidentifier")] [Required(AllowEmptyStrings=false)] public Guid inorderhead_id { get; set; } /// ///区域ID /// [Display(Name ="区域ID")] [MaxLength(80)] [Column(TypeName="nvarchar(80)")] [Editable(true)] public string inorderhead_areaid { get; set; } /// ///订单号 /// [Display(Name ="订单号")] [MaxLength(60)] [Column(TypeName="nvarchar(60)")] [Required(AllowEmptyStrings=false)] public string inorderhead_number { get; set; } /// ///订单类型 /// [Display(Name ="订单类型")] [MaxLength(40)] [Column(TypeName="nvarchar(40)")] [Required(AllowEmptyStrings=false)] public string inorderhead_type { get; set; } /// ///行号 /// [Display(Name ="行号")] [Column(TypeName="int")] public int? inorderdtl_item { get; set; } /// ///物料名称 /// [Display(Name ="物料名称")] [MaxLength(400)] [Column(TypeName="nvarchar(400)")] [Required(AllowEmptyStrings=false)] public string materiel_name { get; set; } /// ///物料id /// [Display(Name ="物料id")] [MaxLength(200)] [Column(TypeName="nvarchar(200)")] [Editable(true)] [Required(AllowEmptyStrings=false)] public string materiel_id { get; set; } /// ///订单数量 /// [Display(Name ="订单数量")] [DisplayFormat(DataFormatString="18,2")] [Column(TypeName="decimal")] [Editable(true)] [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 ="执行等级")] [Column(TypeName="int")] [Editable(true)] [Required(AllowEmptyStrings=false)] public int inorderdtl_grade { get; set; } /// ///签出对象 /// [Display(Name ="签出对象")] [MaxLength(40)] [Column(TypeName="nvarchar(40)")] public string inorderdtl_checkoutby { get; set; } /// ///批次号(内部) /// [Display(Name ="批次号(内部)")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] [Editable(true)] 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; } /// ///生产日期 /// [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 inorderhead_creator { get; set; } /// ///创建时间 /// [Display(Name ="创建时间")] [Column(TypeName="datetime")] [Editable(true)] [Required(AllowEmptyStrings=false)] public DateTime inorderdtl_createtime { 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; } } }