/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此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_outboundorder_detail")] public class Dt_outboundorder_detail:BaseEntity { /// ///主键ID /// [Key] [Display(Name ="主键ID")] [Column(TypeName="uniqueidentifier")] [Required(AllowEmptyStrings=false)] public Guid outorderdtl_id { get; set; } /// ///表头id /// [Display(Name ="表头id")] [Column(TypeName="uniqueidentifier")] [Required(AllowEmptyStrings=false)] public Guid outorderdtl_headid { get; set; } /// ///订单号 /// [Display(Name ="订单号")] [MaxLength(60)] [Column(TypeName="nvarchar(60)")] [Required(AllowEmptyStrings=false)] public string outorderdtl_number { get; set; } /// ///订单号 /// [Display(Name ="订单号")] [MaxLength(80)] [Column(TypeName="nvarchar(80)")] [Required(AllowEmptyStrings=false)] public string outorderdtl_materielid { get; set; } /// ///库区 /// [Display(Name ="库区")] [MaxLength(80)] [Column(TypeName="nvarchar(80)")] public string outorderdtl_areid { get; set; } /// ///行号 /// [Display(Name ="行号")] [Column(TypeName="int")] public int? outorderdtl_item { get; set; } /// ///客户信息 /// [Display(Name ="客户信息")] [MaxLength(200)] [Column(TypeName="nvarchar(200)")] [Editable(true)] public string outorderdtl_customer { get; set; } /// ///出库片数 /// [Display(Name ="出库片数")] [DisplayFormat(DataFormatString="18,2")] [Column(TypeName="decimal")] [Required(AllowEmptyStrings=false)] public decimal outorderdtl_qty { get; set; } /// ///批次号(供应商) /// [Display(Name ="批次号(供应商)")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string outorderdtl_lotnumber { get; set; } /// ///订单状态 /// [Display(Name ="订单状态")] [MaxLength(60)] [Column(TypeName="nvarchar(60)")] [Required(AllowEmptyStrings=false)] public string outorderdtl_state { get; set; } /// ///已分配的片数 /// [Display(Name = "已分配的片数")] [DisplayFormat(DataFormatString="18,2")] [Column(TypeName="decimal")] public decimal? outorderdtl_progressqty { get; set; } /// ///已完成的片数 /// [Display(Name = "已完成的片数")] [DisplayFormat(DataFormatString="18,2")] [Column(TypeName="decimal")] public decimal? outorderdtl_finishedqty { get; set; } /// ///是否上传ERP /// [Display(Name ="是否上传ERP")] [Column(TypeName="bit")] public bool? outorderdtl_isupload { get; set; } /// ///上传时间 /// [Display(Name ="上传时间")] [Column(TypeName="datetime")] public DateTime? outorderdtl_loadtime { get; set; } /// ///执行等级 /// [Display(Name ="执行等级")] [Column(TypeName="int")] [Required(AllowEmptyStrings=false)] public int outorderdtl_grade { get; set; } /// ///创建者 /// [Display(Name ="创建者")] [MaxLength(40)] [Column(TypeName="nvarchar(40)")] [Editable(true)] public string outorderdtl_creator { get; set; } /// ///创建时间 /// [Display(Name ="创建时间")] [Column(TypeName="datetime")] [Required(AllowEmptyStrings=false)] public DateTime outorderdtl_createtime { get; set; } /// ///出库口 /// [Display(Name ="出库口")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string outorderdtl_station { get; set; } /// ///货位编号 /// [Display(Name ="货位编号")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string outorderdtl_locationid { get; set; } /// ///条码 /// [Display(Name ="条码")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string outorderdtl_sn { get; set; } /// ///批次号(内部) /// [Display(Name ="批次号(内部)")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string outorderdtl_batch { get; set; } /// ///发货总重量 /// [Display(Name ="发货总重量")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] [Editable(true)] public string gross_weight { get; set; } /// ///车牌 /// [Display(Name ="车牌")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] [Editable(true)] public string number_plate { get; set; } /// ///车型 /// [Display(Name ="车型")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] [Editable(true)] public string car_model { get; set; } /// ///荷载重量 /// [Display(Name ="荷载重量")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] [Editable(true)] public string load_weigh { get; set; } /// ///已分配重量 /// [Display(Name = "已分配重量")] [DisplayFormat(DataFormatString = "18,2")] [Column(TypeName = "decimal")] public decimal outorderdtl_progressweigh { get; set; } /// ///完成重量 /// [Display(Name = "完成重量")] [DisplayFormat(DataFormatString = "18,2")] [Column(TypeName = "decimal")] public decimal outorderdtl_finishedweigh { get; set; } /// ///要求的铜剁等级 /// [Display(Name = "要求的铜剁等级")] [MaxLength(50)] [Column(TypeName = "nvarchar(50)")] [Editable(true)] public string outorderdtl_requiregrade { get; set; } /// ///要求的生产日期 /// [Display(Name = "要求的生产日期")] [Column(TypeName = "datetime")] [Editable(true)] public DateTime? outorderdtl_requiredate { get; set; } } }