|
|
using Newtonsoft.Json;
|
|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_WMS_IN_PLAN")]
|
|
|
public class OP_WMS_IN_PLAN:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="WMSPLANID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid WMSPLANID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///入库单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="入库单号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string WMSNO { 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 GOODSNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///提单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="提单号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///报关单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="报关单号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///核注清单编号
|
|
|
/// </summary>
|
|
|
[Display(Name = "核注清单编号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string HZQDBH { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///会计期间
|
|
|
/// </summary>
|
|
|
[Display(Name ="会计期间")]
|
|
|
[Column(TypeName="date")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? ACCDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///件数
|
|
|
/// </summary>
|
|
|
[Display(Name ="件数")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
///件数
|
|
|
/// </summary>
|
|
|
[Display(Name = "件数2")]
|
|
|
[Column(TypeName = "numeric")]
|
|
|
public decimal? SMALLPKGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///件数
|
|
|
/// </summary>
|
|
|
[Display(Name = "件数3")]
|
|
|
[Column(TypeName = "numeric")]
|
|
|
public decimal? MINPKGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///包装
|
|
|
/// </summary>
|
|
|
[Display(Name ="包装")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///毛重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="毛重(千克)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///净重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="净重(千克)")]
|
|
|
//[DisplayFormat(DataFormatString="18,3")]
|
|
|
//[Column(TypeName="decimal")]
|
|
|
[Column(TypeName = "numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///计费单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="计费单位")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string STORAGEUNIT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///计费数量
|
|
|
/// </summary>
|
|
|
[Display(Name ="计费数量")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? STORAGEUNITCOUNT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///申报单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="申报单位")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string RULEUNIT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///申报数量
|
|
|
/// </summary>
|
|
|
[Display(Name ="申报数量")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? RULEUNITCOUNT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否保税
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否保税")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string BILLTYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///计划时间
|
|
|
/// </summary>
|
|
|
[Display(Name ="计划时间")]
|
|
|
[Column(TypeName="date")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? PLANTIME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///分公司
|
|
|
/// </summary>
|
|
|
[Display(Name ="分公司")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///到港日
|
|
|
/// </summary>
|
|
|
[Display(Name ="到港日")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? ETA { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱量
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱量")]
|
|
|
[Column(TypeName="int")]
|
|
|
[Editable(true)]
|
|
|
public int? CTNNUM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///进境备案申报日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="进境备案申报日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? JINJINGBEIANSHENBAORIQI { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///境内收货人
|
|
|
/// </summary>
|
|
|
[Display(Name ="境内收货人")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string JINGNEISHOUHUOREN { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///报检号
|
|
|
/// </summary>
|
|
|
[Display(Name ="报检号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string INSPECTION_NO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///接到计划日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="接到计划日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? PLAN_GETTIME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="Creator")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string Creator { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateDate")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///备注
|
|
|
/// </summary>
|
|
|
[Display(Name ="备注")]
|
|
|
[MaxLength(1024)]
|
|
|
[Column(TypeName="varchar(1024)")]
|
|
|
[Editable(true)]
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///费用状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="费用状态")]
|
|
|
[Column(TypeName="bit")]
|
|
|
[Editable(true)]
|
|
|
public bool? FEESTATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///已提交
|
|
|
/// </summary>
|
|
|
[Display(Name ="已提交")]
|
|
|
[Column(TypeName="bit")]
|
|
|
[Editable(true)]
|
|
|
public bool? BSSTATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="TIMEMARK")]
|
|
|
[JsonIgnore]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? TIMEMARK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ModifyDate")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? ModifyDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="Modifier")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string Modifier { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///体积(立方米)
|
|
|
/// </summary>
|
|
|
[Display(Name ="体积(立方米)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///合同号
|
|
|
/// </summary>
|
|
|
[Display(Name ="合同号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CONTRACTNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///业务来源
|
|
|
/// </summary>
|
|
|
[Display(Name ="业务来源")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string BSSOURCE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateID")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CreateID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 销售
|
|
|
/// </summary>
|
|
|
[Display(Name = "SALE")]
|
|
|
[Column(TypeName = "uniqueidentifier")]
|
|
|
[Editable(true)]
|
|
|
public Guid? SALE { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ModifyID")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string ModifyID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否结束
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否结束")]
|
|
|
[Column(TypeName="bit")]
|
|
|
[Editable(true)]
|
|
|
public bool? ISEND { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///来源业务BSNO
|
|
|
/// </summary>
|
|
|
[Display(Name ="来源业务BSNO")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string MASTERBSNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///报关单金额
|
|
|
/// </summary>
|
|
|
[Display(Name ="报关单金额")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? CUSTOMAMOUNT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货主
|
|
|
/// </summary>
|
|
|
[Display(Name ="货主")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string GOODSOWNER { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///业务状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="业务状态")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName="varchar(20)")]
|
|
|
[Editable(true)]
|
|
|
public string BILLSTATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///仓储费结算对象
|
|
|
/// </summary>
|
|
|
[Display(Name ="仓储费结算对象")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string ARCLIENTWMSOUT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否法检
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否法检")]
|
|
|
[Column(TypeName="bit")]
|
|
|
[Editable(true)]
|
|
|
public bool? ISRULECHECK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原产国
|
|
|
/// </summary>
|
|
|
[Display(Name ="原产国")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
[Editable(true)]
|
|
|
public string COUNTRY { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="APCLIENTWMSOUT")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string APCLIENTWMSOUT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///仓库
|
|
|
/// </summary>
|
|
|
[Display(Name = "仓库")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName = "varchar(20)")]
|
|
|
[Editable(true)]
|
|
|
public string STOREHOUSE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 贸易方式 监管方式
|
|
|
/// </summary>
|
|
|
[Display(Name = "监管方式")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string TRADETYPE { get; set; }
|
|
|
|
|
|
|
|
|
[Display(Name = "FEESTARTDATE")]
|
|
|
[Editable(true)]
|
|
|
[Column(TypeName = "datetime")]
|
|
|
public DateTime? FEESTARTDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///装卸方式
|
|
|
/// </summary>
|
|
|
[Display(Name = "装卸方式")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string WMSWORKTYPE { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
///币别
|
|
|
/// </summary>
|
|
|
[Display(Name = "币别")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName = "varchar(20)")]
|
|
|
[Editable(true)]
|
|
|
public string CURRENCY { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///车队
|
|
|
/// </summary>
|
|
|
[Display(Name = "车队")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string TRUCKTEAM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///称重方式
|
|
|
/// </summary>
|
|
|
[Display(Name = "称重方式")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string WEIGHTTYPE { get; set; }
|
|
|
|
|
|
}
|
|
|
}
|