|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_BlockTrainOrder")]
|
|
|
public class Tb_BlockTrainOrder:BaseEntity
|
|
|
{
|
|
|
/// <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 Customer { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///班列Gid
|
|
|
/// </summary>
|
|
|
[Display(Name ="班列Gid")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[ParentId("tb_BlockTrain")]
|
|
|
[Editable(true)]
|
|
|
public Guid? BlockTrainGid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///班列订单类型 plan计划 official正式
|
|
|
/// </summary>
|
|
|
[Display(Name ="班列订单类型 plan计划 official正式")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string TrainOrderType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///业务类型
|
|
|
/// </summary>
|
|
|
[Display(Name ="业务类型")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string OrderType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///报关数据Json 状态 文件 报关单号数据
|
|
|
/// </summary>
|
|
|
[Display(Name ="报关数据Json 状态 文件 报关单号数据")]
|
|
|
[Column(TypeName="nvarchar(max)")]
|
|
|
public string BaoguanInfo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///进出口类型 E出口 F进口
|
|
|
/// </summary>
|
|
|
[Display(Name ="进出口类型 E出口 F进口")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string IEFlag { 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 SendStation { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///收货人
|
|
|
/// </summary>
|
|
|
[Display(Name ="收货人")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string ConsigneeName { 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 ="口岸代理")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string AgentPort { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///预约状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="预约状态")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string AppointStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///商品详情数据
|
|
|
/// </summary>
|
|
|
[Display(Name ="商品详情数据")]
|
|
|
[Column(TypeName="nvarchar(max)")]
|
|
|
public string GoodsInfo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///报关状态 保税状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="报关状态 保税状态")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BaoguanStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///集装箱状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="集装箱状态")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string BoxStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱型
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱型")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BoxType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱属
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱属")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BoxAttr { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱号
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱号")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BoxCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///数量
|
|
|
/// </summary>
|
|
|
[Display(Name ="数量")]
|
|
|
[Column(TypeName="int")]
|
|
|
public int? GoodCount { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///毛重 重量
|
|
|
/// </summary>
|
|
|
[Display(Name = "毛重 重量")]
|
|
|
[DisplayFormat(DataFormatString = "10,2")]
|
|
|
[Column(TypeName = "decimal")]
|
|
|
public decimal? BoxWeigth { get; set; } = 0;
|
|
|
|
|
|
/// <summary>
|
|
|
///箱重 集装箱皮重
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱重 集装箱皮重")]
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
[Column(TypeName="decimal")]
|
|
|
public decimal? BoxWeigthTare { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否全程
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否全程")]
|
|
|
[Column(TypeName="smallint")]
|
|
|
public int? Iswhole { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否是有色金属
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否是有色金属")]
|
|
|
[Column(TypeName="smallint")]
|
|
|
public int? IsNonFe { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货主
|
|
|
/// </summary>
|
|
|
[Display(Name ="货主")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string TradeName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///实际货主 最终货主
|
|
|
/// </summary>
|
|
|
[Display(Name ="实际货主 最终货主")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string TradeLastName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货源地 / 目的地
|
|
|
/// </summary>
|
|
|
[Display(Name ="货源地 / 目的地")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string OriginAddr { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否省内发货
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否省内发货")]
|
|
|
[Column(TypeName="smallint")]
|
|
|
public int? SendIsProvince { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///价值 美元
|
|
|
/// </summary>
|
|
|
[Display(Name ="价值 美元")]
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
[Column(TypeName="decimal")]
|
|
|
public decimal? MoneyUsd { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///海关封条
|
|
|
/// </summary>
|
|
|
[Display(Name ="海关封条")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string CustomsSeal { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///车号
|
|
|
/// </summary>
|
|
|
[Display(Name ="车号")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string TrainNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///运单需求号
|
|
|
/// </summary>
|
|
|
[Display(Name ="运单需求号")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BillDemandNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///国际联合单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="国际联合单号")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BillInternatNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///进内运费 人民币
|
|
|
/// </summary>
|
|
|
[Display(Name ="进内运费 人民币")]
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
[Column(TypeName="decimal")]
|
|
|
public decimal? FeeIn { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///境外运费 美元
|
|
|
/// </summary>
|
|
|
[Display(Name ="境外运费 美元")]
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
[Column(TypeName="decimal")]
|
|
|
public decimal? FeeOut { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///境外币种
|
|
|
/// </summary>
|
|
|
[Display(Name ="境外币种")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string CurrencyOut { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///补贴标准
|
|
|
/// </summary>
|
|
|
[Display(Name ="补贴标准")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string SubsidyType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///补贴金额
|
|
|
/// </summary>
|
|
|
[Display(Name ="补贴金额")]
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
[Column(TypeName="decimal")]
|
|
|
public decimal? SubsidyMoney { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///备注
|
|
|
/// </summary>
|
|
|
[Display(Name ="备注")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///锁定状态 0未锁定 1 撤回申请 100锁定
|
|
|
/// </summary>
|
|
|
[Display(Name ="锁定状态 0未锁定 1 撤回申请 100锁定")]
|
|
|
[Column(TypeName="smallint")]
|
|
|
public int? IsLock { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///最新的预约ID
|
|
|
/// </summary>
|
|
|
[Display(Name ="最新的预约ID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? NewestYardOrderGid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///更新时间戳
|
|
|
/// </summary>
|
|
|
[Display(Name ="更新时间戳")]
|
|
|
[Column(TypeName="bigint")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public long UpTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///创建时间戳秒级
|
|
|
/// </summary>
|
|
|
[Display(Name ="创建时间戳秒级")]
|
|
|
[Column(TypeName="bigint")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public long AddTime { 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; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
} |