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