You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DSWMS/Vue.Net/VOL.Entity/DomainModels/CTNMNG/Tb_BlockTrain.cs

230 lines
6.3 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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