/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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_hty")]
public class Dt_outboundorder_detail_hty: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; }
///
///物料id
///
[Display(Name ="物料id")]
[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)")]
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(20)]
[Column(TypeName="nvarchar(30)")]
[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)")]
[Required(AllowEmptyStrings=false)]
public string outorderdtl_creator { get; set; }
///
///创建时间
///
[Display(Name ="创建时间")]
[Column(TypeName="datetime")]
[Required(AllowEmptyStrings=false)]
public DateTime outorderdtl_createtime { get; set; }
///
///完成时间
///
[Display(Name ="完成时间")]
[Column(TypeName="datetime")]
[Required(AllowEmptyStrings=false)]
public DateTime outorderdtl_finishtime { get; set; }
///
///操作类型
///
[Display(Name ="操作类型")]
[MaxLength(20)]
[Column(TypeName="nvarchar(20)")]
[Required(AllowEmptyStrings=false)]
public string outorderdtl_operatetype { get; set; }
///
///操作者
///
[Display(Name ="操作者")]
[MaxLength(40)]
[Column(TypeName="nvarchar(40)")]
[Required(AllowEmptyStrings=false)]
public string outorderdtl_compeletor { get; set; }
///
///原表体id
///
[Display(Name ="原表体id")]
[Column(TypeName="uniqueidentifier")]
public Guid? outorderdtl_sourceid { get; set; }
///
///发货总重量
///
[Display(Name ="发货总重量")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
public string gross_weight { get; set; }
///
///车牌
///
[Display(Name ="车牌")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
public string number_plate { get; set; }
///
///车型
///
[Display(Name ="车型")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
public string car_model { get; set; }
///
///荷载重量
///
[Display(Name ="荷载重量")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
public string load_weigh { get; set; }
}
}