|
|
|
|
/*
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_DJZ")]
|
|
|
|
|
public class VW_OP_YARD_BOOK_DJZ:BaseEntity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///主键ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Key]
|
|
|
|
|
[Display(Name ="主键ID")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public Guid GID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///流水号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="流水号")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string BSNO { 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 ="预计入场日期")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
public DateTime? ENTERDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///承运车号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="承运车号")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string TRUCKNO { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///联系电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="联系电话")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string LinkTel { 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>
|
|
|
|
|
///是否双背
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="是否双背")]
|
|
|
|
|
[Column(TypeName="bit")]
|
|
|
|
|
public bool? ISTwoBox { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="备注")]
|
|
|
|
|
[MaxLength(800)]
|
|
|
|
|
[Column(TypeName="varchar(800)")]
|
|
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///材料状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="材料状态")]
|
|
|
|
|
[MaxLength(1)]
|
|
|
|
|
[Column(TypeName="varchar(1)")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public string IsUpLoadPackBox { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///单据状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="单据状态")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string BILLSTATUS_CUST { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///箱状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="箱状态")]
|
|
|
|
|
[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 ="状态")]
|
|
|
|
|
[Column(TypeName="smallint")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public int Status { 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 ="装箱资料数量")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public int PackBoxCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///业务归属Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="业务归属Id")]
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
|
|
public string OrgId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///材料审批状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="材料审批状态")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
public int? MaterialStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///班列Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="班列Id")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
public Guid? TrainId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///班列号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="班列号")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
public string TrainNum { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|