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