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