/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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 VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels
{
[Entity(TableCnName = "场站箱号查询_视图",TableName = "VW_OP_YARD_BOX_QUERY")]
public class VW_OP_YARD_BOX_QUERY:BaseEntity
{
///
///库位
///
[Display(Name ="库位")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
[Required(AllowEmptyStrings=false)]
public string AREACODE { get; set; }
///
///库位名称
///
[Display(Name ="库位名称")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string AREANAME { get; set; }
///
///委托单位
///
[Display(Name ="委托单位")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string CUSTOMERNAME { get; set; }
///
///货物名称
///
[Display(Name ="货物名称")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string GOODNAME { get; set; }
///
///箱号
///
[Display(Name ="箱号")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
public string BoxCode { get; set; }
///
///箱型
///
[Display(Name ="箱型")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
public string BoxType { get; set; }
///
///箱重
///
[Display(Name ="箱重")]
[DisplayFormat(DataFormatString="10,2")]
[Column(TypeName="decimal")]
public decimal? BoxWeigth { get; set; }
///
///订单Id
///
[Display(Name ="订单Id")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid BlockTrainOrderGid { get; set; }
///
///进场日期
///
[Display(Name ="进场日期")]
[Column(TypeName="datetime")]
public DateTime? ENTERDATE_ACTUAL { get; set; }
///
///
///
[Key]
[Display(Name ="GID")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid GID { get; set; }
///
///仓库
///
[Display(Name ="仓库")]
[MaxLength(4)]
[Column(TypeName="varchar(4)")]
[Required(AllowEmptyStrings=false)]
public string STOREHOUSE { get; set; }
}
}