|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_BOOK")]
|
|
|
public class OP_YARD_BOOK:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///Id
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="Id")]
|
|
|
[Column(TypeName="bigint")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///主键ID
|
|
|
/// </summary>
|
|
|
[Display(Name ="主键ID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? Gid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///客户名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="客户名称")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string Customer { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///业务类型
|
|
|
/// </summary>
|
|
|
[Display(Name ="业务类型")]
|
|
|
[Column(TypeName="int")]
|
|
|
public int? BusinessType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱状态")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BoxStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱型
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱型")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BoxType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱号
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱号")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string BoxCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱重
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱重")]
|
|
|
[DisplayFormat(DataFormatString="10,2")]
|
|
|
[Column(TypeName="decimal")]
|
|
|
public decimal? BoxWeigth { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///备注
|
|
|
/// </summary>
|
|
|
[Display(Name ="备注")]
|
|
|
[MaxLength(510)]
|
|
|
[Column(TypeName="nvarchar(510)")]
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否双背
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否双背")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? ISTwoBox { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///审核状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="审核状态")]
|
|
|
[Column(TypeName="int")]
|
|
|
public int? AuditStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否采集车号
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否采集车号")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? IsCollectTRUCK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否采集箱号
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否采集箱号")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? IsCollectBox { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否上传装箱资料
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否上传装箱资料")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? IsUpLoadPackBox { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="状态")]
|
|
|
[Column(TypeName="smallint")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public int Status { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///公司ID
|
|
|
/// </summary>
|
|
|
[Display(Name ="公司ID")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateDate")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? CreateDate { 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 ="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 ="ModifyID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? ModifyID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///超重比例
|
|
|
/// </summary>
|
|
|
[Display(Name ="超重比例")]
|
|
|
[Column(TypeName="decimal")]
|
|
|
public decimal? LimitRatio { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///库位
|
|
|
/// </summary>
|
|
|
[Display(Name ="库位")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string AREACODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 材料审批状态
|
|
|
/// </summary>
|
|
|
public int? MaterialStatus { get; set; }
|
|
|
/// <summary>
|
|
|
/// 班列ID
|
|
|
/// </summary>
|
|
|
public Guid? TrainId { get; set; }
|
|
|
/// <summary>
|
|
|
/// 业务归属单位
|
|
|
/// </summary>
|
|
|
public string OrgId { get; set; }
|
|
|
|
|
|
}
|
|
|
} |