|
|
|
|
/*
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_tb_BlockTrainOrder")]
|
|
|
|
|
public class Vw_tb_BlockTrainOrder:BaseEntity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="Id")]
|
|
|
|
|
[Column(TypeName="bigint")]
|
|
|
|
|
public long? Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Key]
|
|
|
|
|
[Display(Name ="Gid")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public Guid Gid { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="Customer")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string Customer { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BlockTrainGid")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
public Guid? BlockTrainGid { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="TrainOrderType")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string TrainOrderType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="OrderType")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string OrderType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BaoguanInfo")]
|
|
|
|
|
[Column(TypeName="nvarchar(max)")]
|
|
|
|
|
public string BaoguanInfo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="IEFlag")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string IEFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="GoodsManage")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string GoodsManage { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="SendStation")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string SendStation { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="ConsigneeName")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string ConsigneeName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="ConsigneeCountry")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string ConsigneeCountry { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="ConsigneeStation")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string ConsigneeStation { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="AgentPort")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string AgentPort { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="AppointStatus")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string AppointStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="GoodsInfo")]
|
|
|
|
|
[Column(TypeName="nvarchar(max)")]
|
|
|
|
|
public string GoodsInfo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BaoguanStatus")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BaoguanStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BoxStatus")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BoxStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BoxType")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BoxType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BoxAttr")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BoxAttr { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BoxCode")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BoxCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="GoodCount")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
public int? GoodCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BoxWeigth")]
|
|
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? BoxWeigth { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BoxWeigthTare")]
|
|
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? BoxWeigthTare { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="Iswhole")]
|
|
|
|
|
[Column(TypeName="smallint")]
|
|
|
|
|
public int? Iswhole { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="IsNonFe")]
|
|
|
|
|
[Column(TypeName="smallint")]
|
|
|
|
|
public int? IsNonFe { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="TradeName")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string TradeName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="TradeLastName")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string TradeLastName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="OriginAddr")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string OriginAddr { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="SendIsProvince")]
|
|
|
|
|
[Column(TypeName="smallint")]
|
|
|
|
|
public int? SendIsProvince { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="MoneyUsd")]
|
|
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? MoneyUsd { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="CustomsSeal")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string CustomsSeal { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="TrainNo")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string TrainNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BillDemandNo")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BillDemandNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="BillInternatNo")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string BillInternatNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="FeeIn")]
|
|
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? FeeIn { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="FeeOut")]
|
|
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? FeeOut { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="CurrencyOut")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string CurrencyOut { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="SubsidyType")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string SubsidyType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="SubsidyMoney")]
|
|
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
public decimal? SubsidyMoney { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="Remark")]
|
|
|
|
|
[MaxLength(510)]
|
|
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="IsLock")]
|
|
|
|
|
[Column(TypeName="smallint")]
|
|
|
|
|
public int? IsLock { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="NewestYardOrderGid")]
|
|
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
|
|
public Guid? NewestYardOrderGid { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="UpTime")]
|
|
|
|
|
[Column(TypeName="bigint")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public long UpTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="AddTime")]
|
|
|
|
|
[Column(TypeName="bigint")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public long AddTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="Status")]
|
|
|
|
|
[Column(TypeName="smallint")]
|
|
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
|
|
public int Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="DAYS")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
public int? DAYS { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|