|
|
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_OUT_PLAN")]
|
|
|
public class OP_WMS_OUT_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 ="计划出库时间")]
|
|
|
[Column(TypeName="date")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? PLANTIME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///客户名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="客户名称")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///分公司ID
|
|
|
/// </summary>
|
|
|
[Display(Name ="分公司ID")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///备注
|
|
|
/// </summary>
|
|
|
[Display(Name ="备注")]
|
|
|
[MaxLength(400)]
|
|
|
[Column(TypeName="varchar(400)")]
|
|
|
[Editable(true)]
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="Creator")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string Creator { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateID")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string CreateID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateDate")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///费用状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="费用状态")]
|
|
|
[Column(TypeName="bit")]
|
|
|
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 ="ModifyID")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string ModifyID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="Modifier")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string Modifier { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///出库完成
|
|
|
/// </summary>
|
|
|
[Display(Name ="出库完成")]
|
|
|
[Column(TypeName="bit")]
|
|
|
[Editable(true)]
|
|
|
public bool? ISEND { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///出区报关单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="出区报关单号")]
|
|
|
[MaxLength(200)]
|
|
|
[Column(TypeName="varchar(200)")]
|
|
|
[Editable(true)]
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货物名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="货物名称")]
|
|
|
[MaxLength(200)]
|
|
|
[Column(TypeName="varchar(200)")]
|
|
|
[Editable(true)]
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///计费品类
|
|
|
/// </summary>
|
|
|
[Display(Name ="计费品类")]
|
|
|
[MaxLength(200)]
|
|
|
[Column(TypeName="varchar(200)")]
|
|
|
[Editable(true)]
|
|
|
public string GOODSFEETYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货主
|
|
|
/// </summary>
|
|
|
[Display(Name ="货主")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string GOODSOWNER { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="BILLSTATUS")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName="varchar(20)")]
|
|
|
public string BILLSTATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///仓储费承担至
|
|
|
/// </summary>
|
|
|
[Display(Name ="仓储费承担至")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? STOREHOUSEENDDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///提货单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="提货单位")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string PICKUPNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///提货时货转
|
|
|
/// </summary>
|
|
|
[Display(Name ="提货时货转")]
|
|
|
[Column(TypeName="bit")]
|
|
|
[Editable(true)]
|
|
|
public bool? ISOUTTRANSFER { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///吨位
|
|
|
/// </summary>
|
|
|
[Display(Name ="吨位")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? PLANCOUNT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///结算方式
|
|
|
/// </summary>
|
|
|
[Display(Name ="结算方式")]
|
|
|
[Column(TypeName="tinyint")]
|
|
|
[Editable(true)]
|
|
|
public byte? STLMODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///客户订单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="客户订单号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CUSTNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///仓库联系人
|
|
|
/// </summary>
|
|
|
[Display(Name ="仓库联系人")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string STOREHOUSECONTACT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///指定_件数
|
|
|
/// </summary>
|
|
|
[Display(Name ="指定_件数")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///指定_件数2
|
|
|
/// </summary>
|
|
|
[Display(Name ="指定_件数2")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? SMALLPKGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///指定_件数3
|
|
|
/// </summary>
|
|
|
[Display(Name ="指定_件数3")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? MINPKGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///指定_毛重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="指定_毛重(千克)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///指定_净重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="指定_净重(千克)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///指定_体积(立方米)
|
|
|
/// </summary>
|
|
|
[Display(Name ="指定_体积(立方米)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///指定_计费数量
|
|
|
/// </summary>
|
|
|
[Display(Name ="指定_计费数量")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? STORAGEUNITCOUNT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否指定数量
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否指定数量")]
|
|
|
[Column(TypeName="bit")]
|
|
|
[Editable(true)]
|
|
|
public bool? ISSPENUM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否条件出库
|
|
|
/// </summary>
|
|
|
[Display(Name = "是否条件出库")]
|
|
|
[Column(TypeName = "bit")]
|
|
|
[Editable(true)]
|
|
|
public bool? ISBATCHSTOCK { get; set; } = false;
|
|
|
|
|
|
|
|
|
[Display(Name = "销售")]
|
|
|
[Column(TypeName = "uniqueidentifier")]
|
|
|
[Editable(true)]
|
|
|
public Guid? SALE { get; set; }
|
|
|
}
|
|
|
}
|