|
|
|
|
/*
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_BOOK_AREA")]
|
|
|
|
|
public class VW_OP_YARD_BOOK_AREA:BaseEntity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Key]
|
|
|
|
|
[Display(Name ="GID")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public Guid GID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BSNO")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="CUSTOMERNAME")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="GOODNAME")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string GOODNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="ENTERDATE")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
public DateTime? ENTERDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="TRUCKNO")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string TRUCKNO { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="LinkTel")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string LinkTel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BoxCode")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BoxCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BoxType")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BoxType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BoxWeigth")]
|
|
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? BoxWeigth { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="ENTERDATE_ACTUAL")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
public DateTime? ENTERDATE_ACTUAL { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="OutDate")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
public DateTime? OutDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="ISTwoBox")]
|
|
|
|
|
[Column(TypeName="bit")]
|
|
|
|
|
public bool? ISTwoBox { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="REMARK")]
|
|
|
|
|
[MaxLength(800)]
|
|
|
|
|
[Column(TypeName="varchar(800)")]
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="EnterOrderGid")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
public Guid? EnterOrderGid { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="DAYS")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
public int? DAYS { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BILLSTATUS_CUST")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string BILLSTATUS_CUST { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BoxStatus")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BoxStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BondType")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
public int? BondType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="AREACODE")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string AREACODE { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="EnterWeight")]
|
|
|
|
|
[DisplayFormat(DataFormatString="18,2")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? EnterWeight { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="OutWeight")]
|
|
|
|
|
[DisplayFormat(DataFormatString="18,2")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? OutWeight { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="NetWeight")]
|
|
|
|
|
[DisplayFormat(DataFormatString="19,2")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? NetWeight { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="Status")]
|
|
|
|
|
[Column(TypeName="smallint")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public int Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="IsCollectTRUCK")]
|
|
|
|
|
[Column(TypeName="bit")]
|
|
|
|
|
public bool? IsCollectTRUCK { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="IsCollectBox")]
|
|
|
|
|
[Column(TypeName="bit")]
|
|
|
|
|
public bool? IsCollectBox { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="IsUpLoadPackBox")]
|
|
|
|
|
[Column(TypeName="bit")]
|
|
|
|
|
public bool? IsUpLoadPackBox { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BusinessType")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
public int? BusinessType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="AuditStatus")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
public int? AuditStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="LimitRatio")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? LimitRatio { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="TrainId")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
public Guid? TrainId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="TrainNum")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string TrainNum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="OrgId")]
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
|
|
public string OrgId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="MaterialStatus")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
public int? MaterialStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|