|
|
|
|
/*
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_YARD_tb_BlockTrain")]
|
|
|
|
|
public class VW_YARD_tb_BlockTrain:BaseEntity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///委托客户
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="委托客户")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string Customer { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///发运日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="发运日期")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public DateTime? SendTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///班列名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="班列名称")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string BlockName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///发运城市
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="发运城市")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string SendCity { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///口岸站
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="口岸站")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string StationPort { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///集结站
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="集结站")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string StationNode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///总箱数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="总箱数")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
public int? CTNCOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///总票数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="总票数")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public int BILLCOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="创建时间")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
public DateTime? AddTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///主键ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Key]
|
|
|
|
|
[Display(Name ="主键ID")]
|
|
|
|
|
[Column(TypeName="bigint")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///Guid主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="Guid主键")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
public Guid? Gid { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///班列类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="班列类型")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BlockType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///方向
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="方向")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string Direction { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///线路
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="线路")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string Line { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="类型")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string TrainType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///省级班列单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="省级班列单号")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string OrderNoProvince { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="备注")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string Memo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///更新时间戳
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="更新时间戳")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
public DateTime? UpTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///数据状态 -1删除 0为不可用 1正常 1-99为各种状态 100为完成
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="数据状态 -1删除 0为不可用 1正常 1-99为各种状态 100为完成")]
|
|
|
|
|
[Column(TypeName="smallint")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public int Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///目的国
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="目的国")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string ConsigneeCountry { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///目的站
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="目的站")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string ConsigneeStation { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///总单量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="总单量")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public int CountTotal { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///完成量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="完成量")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public int CountFinish { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///货源组织单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="货源组织单位")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string GoodsManage { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///口岸代理
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="口岸代理")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string AgentPort { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///发送站
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="发送站")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string SendStation { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|