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