/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此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 = "Tb_BlockTrain")] public class Tb_BlockTrain : BaseEntity { /// ///委托客户 /// [Display(Name = "委托客户")] [MaxLength(510)] [Column(TypeName = "nvarchar(510)")] public string Customer { get; set; } /// ///发运日期 /// [Display(Name = "发运日期")] [Column(TypeName = "bigint")] [Required(AllowEmptyStrings = false)] public long SendTime { get; set; } /// ///班列名称 /// [Display(Name = "班列名称")] [MaxLength(510)] [Column(TypeName = "nvarchar(510)")] public string BlockName { get; set; } /// ///发运城市 /// [Display(Name = "发运城市")] [MaxLength(510)] [Column(TypeName = "nvarchar(510)")] public string SendCity { get; set; } /// ///口岸站 /// [Display(Name = "口岸站")] [MaxLength(510)] [Column(TypeName = "nvarchar(510)")] public string StationPort { get; set; } /// ///集结站 /// [Display(Name = "集结站")] [MaxLength(510)] [Column(TypeName = "nvarchar(510)")] public string StationNode { get; set; } /// ///创建时间戳秒级 /// [Display(Name = "创建时间戳秒级")] [Column(TypeName = "bigint")] [Required(AllowEmptyStrings = false)] public long 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")] [Editable(true)] 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)")] public string Direction { get; set; } /// ///线路 /// [Display(Name ="线路")] [MaxLength(510)] [Column(TypeName="nvarchar(510)")] public string Line { get; set; } /// ///类型 /// [Display(Name ="类型")] [MaxLength(510)] [Column(TypeName="nvarchar(510)")] public string TrainType { get; set; } /// ///省级班列单号 /// [Display(Name ="省级班列单号")] [MaxLength(510)] [Column(TypeName="nvarchar(510)")] public string OrderNoProvince { get; set; } /// ///备注 /// [Display(Name ="备注")] [MaxLength(510)] [Column(TypeName="nvarchar(510)")] public string Memo { get; set; } /// ///更新时间戳 /// [Display(Name ="更新时间戳")] [Column(TypeName="bigint")] [Required(AllowEmptyStrings=false)] public long 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(100)] [Column(TypeName="nvarchar(100)")] public string AddUser { get; set; } /// ///更新人 /// [Display(Name ="更新人")] [MaxLength(100)] [Column(TypeName="nvarchar(100)")] public string UpUser { 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; } } }