/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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_OP_YARD_BOOK_DJZ")]
public class VW_OP_YARD_BOOK_DJZ:BaseEntity
{
///
///主键ID
///
[Key]
[Display(Name ="主键ID")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid GID { get; set; }
///
///流水号
///
[Display(Name ="流水号")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string BSNO { get; set; }
///
///客户名称
///
[Display(Name ="客户名称")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string CUSTOMERNAME { get; set; }
///
///货物名称
///
[Display(Name ="货物名称")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string GOODNAME { get; set; }
///
///预计入场日期
///
[Display(Name ="预计入场日期")]
[Column(TypeName="datetime")]
public DateTime? ENTERDATE { get; set; }
///
///承运车号
///
[Display(Name ="承运车号")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string TRUCKNO { get; set; }
///
///联系电话
///
[Display(Name ="联系电话")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
public string LinkTel { get; set; }
///
///箱号
///
[Display(Name ="箱号")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
public string BoxCode { get; set; }
///
///箱型
///
[Display(Name ="箱型")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
public string BoxType { get; set; }
///
///箱货总重
///
[Display(Name ="箱货总重")]
[DisplayFormat(DataFormatString="10,2")]
[Column(TypeName="decimal")]
public decimal? BoxWeigth { get; set; }
///
///是否双背
///
[Display(Name ="是否双背")]
[Column(TypeName="bit")]
public bool? ISTwoBox { get; set; }
///
///备注
///
[Display(Name ="备注")]
[MaxLength(800)]
[Column(TypeName="varchar(800)")]
public string REMARK { get; set; }
///
///材料状态
///
[Display(Name ="材料状态")]
[MaxLength(1)]
[Column(TypeName="varchar(1)")]
[Required(AllowEmptyStrings=false)]
public string IsUpLoadPackBox { get; set; }
///
///单据状态
///
[Display(Name ="单据状态")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string BILLSTATUS_CUST { get; set; }
///
///箱状态
///
[Display(Name ="箱状态")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
public string BoxStatus { get; set; }
///
///
///
[Display(Name ="BondType")]
[Column(TypeName="int")]
public int? BondType { get; set; }
///
///状态
///
[Display(Name ="状态")]
[Column(TypeName="smallint")]
[Required(AllowEmptyStrings=false)]
public int Status { get; set; }
///
///
///
[Display(Name ="BusinessType")]
[Column(TypeName="int")]
public int? BusinessType { get; set; }
///
///
///
[Display(Name ="AuditStatus")]
[Column(TypeName="int")]
public int? AuditStatus { get; set; }
///
///装箱资料数量
///
[Display(Name ="装箱资料数量")]
[Column(TypeName="int")]
[Required(AllowEmptyStrings=false)]
public int PackBoxCount { get; set; }
///
///业务归属Id
///
[Display(Name ="业务归属Id")]
[MaxLength(100)]
[Column(TypeName="varchar(100)")]
public string OrgId { get; set; }
///
///材料审批状态
///
[Display(Name ="材料审批状态")]
[Column(TypeName="int")]
public int? MaterialStatus { get; set; }
///
///班列Id
///
[Display(Name ="班列Id")]
[Column(TypeName="uniqueidentifier")]
public Guid? TrainId { get; set; }
///
///班列号
///
[Display(Name ="班列号")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string TrainNum { get; set; }
}
}