|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_tb_BlockTrainOrderUp")]
|
|
|
public class Vw_tb_BlockTrainOrderUp:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///箱号
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱号")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string BoxCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///主键id
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="主键id")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid Gid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///委托客户
|
|
|
/// </summary>
|
|
|
[Display(Name ="委托客户")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string Customer { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///变更类型
|
|
|
/// </summary>
|
|
|
[Display(Name ="变更类型")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string UpType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///修改日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="修改日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? UpTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///理由
|
|
|
/// </summary>
|
|
|
[Display(Name ="理由")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="状态")]
|
|
|
[Column(TypeName="smallint")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public int Status { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原班列名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="原班列名称")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string Old_BlockName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原发运日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="原发运日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? Old_SendTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原发运城市
|
|
|
/// </summary>
|
|
|
[Display(Name ="原发运城市")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string Old_SendCity { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原口岸站
|
|
|
/// </summary>
|
|
|
[Display(Name ="原口岸站")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string Old_StationPort { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原集结站
|
|
|
/// </summary>
|
|
|
[Display(Name ="原集结站")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string Old_StationNode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原方向
|
|
|
/// </summary>
|
|
|
[Display(Name ="原方向")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string Old_Direction { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原线路
|
|
|
/// </summary>
|
|
|
[Display(Name ="原线路")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string Old_Line { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原类型
|
|
|
/// </summary>
|
|
|
[Display(Name ="原类型")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string Old_TrainType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原省级班列单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="原省级班列单号")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string Old_OrderNoProvince { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///新班列名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="新班列名称")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string new_BlockName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///新发运日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="新发运日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? new_SendTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///新发运城市
|
|
|
/// </summary>
|
|
|
[Display(Name ="新发运城市")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string new_SendCity { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///新口岸站
|
|
|
/// </summary>
|
|
|
[Display(Name ="新口岸站")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string new_StationPort { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///新集结站
|
|
|
/// </summary>
|
|
|
[Display(Name ="新集结站")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string new_StationNode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///新方向
|
|
|
/// </summary>
|
|
|
[Display(Name ="新方向")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string new_Direction { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///新线路
|
|
|
/// </summary>
|
|
|
[Display(Name ="新线路")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string new_Line { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///新类型
|
|
|
/// </summary>
|
|
|
[Display(Name ="新类型")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string new_TrainType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///新省级班列单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="新省级班列单号")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string new_OrderNoProvince { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///业务类型
|
|
|
/// </summary>
|
|
|
[Display(Name ="业务类型")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string OrderType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///进出口
|
|
|
/// </summary>
|
|
|
[Display(Name ="进出口")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string IEFlag { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///预约状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="预约状态")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string AppointStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱状态")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BoxStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱属
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱属")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BoxAttr { get; set; }
|
|
|
|
|
|
|
|
|
}
|
|
|
} |