|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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 = "OP_YARD_CTNMNG")]
|
|
|
public class OP_YARD_CTNMNG:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="GID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid GID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///业务编号
|
|
|
/// </summary>
|
|
|
[Display(Name ="业务编号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///委托单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="委托单位")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///承运车号
|
|
|
/// </summary>
|
|
|
[Display(Name ="承运车号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string TRUCKNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///入区日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="入区日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? ENTERDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///业务状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="业务状态")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string BILLSTATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///单据状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="单据状态")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string BILLSTATUS_CUST { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="OPID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? OPID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///转入方式
|
|
|
/// </summary>
|
|
|
[Display(Name ="转入方式")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string BILLTYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///操作人
|
|
|
/// </summary>
|
|
|
[Display(Name ="操作人")]
|
|
|
[MaxLength(10)]
|
|
|
[Column(TypeName="varchar(10)")]
|
|
|
[Editable(true)]
|
|
|
public string OP { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///操作地址
|
|
|
/// </summary>
|
|
|
[Display(Name ="操作地址")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string OPADDRESS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///调度
|
|
|
/// </summary>
|
|
|
[Display(Name ="调度")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? MANAGEOP { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///仓库
|
|
|
/// </summary>
|
|
|
[Display(Name ="仓库")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? STORAGEOP { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///卡口
|
|
|
/// </summary>
|
|
|
[Display(Name ="卡口")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? PORTOP { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///铁路
|
|
|
/// </summary>
|
|
|
[Display(Name ="铁路")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? TRAINOP { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///备注
|
|
|
/// </summary>
|
|
|
[Display(Name ="备注")]
|
|
|
[MaxLength(800)]
|
|
|
[Column(TypeName="varchar(800)")]
|
|
|
[Editable(true)]
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ACCDATE")]
|
|
|
[MaxLength(7)]
|
|
|
[Column(TypeName="varchar(7)")]
|
|
|
public string ACCDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="BSSOURCE")]
|
|
|
[MaxLength(36)]
|
|
|
[Column(TypeName="varchar(36)")]
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="BSSOURCEDETAIL")]
|
|
|
[MaxLength(36)]
|
|
|
[Column(TypeName="varchar(36)")]
|
|
|
public string BSSOURCEDETAIL { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///分公司
|
|
|
/// </summary>
|
|
|
[Display(Name ="分公司")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? CreateID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="Creator")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string Creator { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///建立日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="建立日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ModifyID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? ModifyID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="Modifier")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string Modifier { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ModifyDate")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? ModifyDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///堆存天数
|
|
|
/// </summary>
|
|
|
[Display(Name ="堆存天数")]
|
|
|
[Column(TypeName="int")]
|
|
|
[Editable(true)]
|
|
|
public int? DAYS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///仓储费
|
|
|
/// </summary>
|
|
|
[Display(Name ="仓储费")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? CCF { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///入区车号
|
|
|
/// </summary>
|
|
|
[Display(Name ="入区车号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string TRUCKNO_IN { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///出区车号
|
|
|
/// </summary>
|
|
|
[Display(Name ="出区车号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string TRUCKNO_OUT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///保税区
|
|
|
/// </summary>
|
|
|
[Display(Name ="保税区")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
[Editable(true)]
|
|
|
public string LOADPORT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///预约类型 yard 场堆场站 bond保税
|
|
|
/// </summary>
|
|
|
[Display(Name ="预约类型 yard 场堆场站 bond保税")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string AppointType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///正式班列台账Gid
|
|
|
/// </summary>
|
|
|
[Display(Name ="正式班列台账Gid")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? BlockTrainOrderGid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///出场日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="出场日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? OutDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///联系电话
|
|
|
/// </summary>
|
|
|
[Display(Name ="联系电话")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string LinkTel { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///实际入区日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="实际入区日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? ENTERDATE_ACTUAL { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 进入磅秤重量
|
|
|
/// </summary>
|
|
|
[Display(Name = "进入磅秤重量")]
|
|
|
public decimal EnterWeight { get; set; } = 0;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 出场磅秤重量
|
|
|
/// </summary>
|
|
|
[Display(Name = "出场磅秤重量")]
|
|
|
public decimal OutWeight { get; set; } = 0;
|
|
|
/// <summary>
|
|
|
///货物名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="货物名称")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string GOODNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name = "EnterOrderGid")]
|
|
|
[Column(TypeName = "uniqueidentifier")]
|
|
|
public Guid? EnterOrderGid { get; set; } = null;
|
|
|
}
|
|
|
} |