|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_YARDBaoGuan")]
|
|
|
public class VW_YARDBaoGuan:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///箱号
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱号")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BoxCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///客户名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="客户名称")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string Customer { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///班列名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="班列名称")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BlockName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///发运日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="发运日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? SendTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="单号")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string CustomsNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///实际客户名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="实际客户名称")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string TradeName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="Gid")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid Gid { get; set; }
|
|
|
|
|
|
|
|
|
[Display(Name = "TrainOrderGid")]
|
|
|
[Column(TypeName = "uniqueidentifier")]
|
|
|
public Guid TrainOrderGid { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
} |