|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_Wms")]
|
|
|
public partial class Vw_Op_Wms:BaseEntity
|
|
|
{
|
|
|
/// <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 MBLNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱号
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原箱号
|
|
|
/// </summary>
|
|
|
[Display(Name = "原箱号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
public string OLD_CNTRNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///业务类型
|
|
|
/// </summary>
|
|
|
[Display(Name ="业务类型")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string BILLTYPE { 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)")]
|
|
|
public string MATERIALNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///费用状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="费用状态")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? FEESTATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///业务状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="业务状态")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? BSSTATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///计费单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="计费单位")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string STORAGEUNIT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///计费单位数量
|
|
|
/// </summary>
|
|
|
[Display(Name ="计费单位数量")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? STORAGEUNITCOUNT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///申报单位
|
|
|
/// </summary>
|
|
|
[Display(Name ="申报单位")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string RULEUNIT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///申报单位数量
|
|
|
/// </summary>
|
|
|
[Display(Name ="申报单位数量")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? RULEUNITCOUNT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///件数
|
|
|
/// </summary>
|
|
|
[Display(Name ="件数")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? PKGS { get; set; }
|
|
|
/// <summary>
|
|
|
///件数
|
|
|
/// </summary>
|
|
|
[Display(Name = "件数2")]
|
|
|
[Column(TypeName = "numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? SMALLPKGS { get; set; }
|
|
|
/// <summary>
|
|
|
///件数
|
|
|
/// </summary>
|
|
|
[Display(Name = "件数3")]
|
|
|
[Column(TypeName = "numeric")]
|
|
|
[Editable(true)]
|
|
|
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? CBM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///毛重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="毛重(千克)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///净重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="净重(千克)")]
|
|
|
// [Display(Name = "NETWEIGHT")]
|
|
|
//[DisplayFormat(DataFormatString="18,3")]
|
|
|
//[Column(TypeName="decimal")]
|
|
|
[Column(TypeName = "numeric")]
|
|
|
public decimal? NETWEIGHT { 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 ="建立日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///建立人
|
|
|
/// </summary>
|
|
|
[Display(Name ="建立人")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string Creator { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///修改日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="修改日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? ModifyDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///修改人
|
|
|
/// </summary>
|
|
|
[Display(Name ="修改人")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string Modifier { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///主键ID
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="主键ID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid WMSID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否已清库
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否已清库")]
|
|
|
[Column(TypeName="bit")]
|
|
|
[Editable(true)]
|
|
|
public bool? ISCLEAR { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///HS代码
|
|
|
/// </summary>
|
|
|
[Display(Name ="HS代码")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string GOODSHSCODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货物代码
|
|
|
/// </summary>
|
|
|
[Display(Name ="货物代码")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string GOODSCODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///备注
|
|
|
/// </summary>
|
|
|
[Display(Name ="备注")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ModifyID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? ModifyID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? CreateID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///最初入库日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="最初入库日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? INDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///费用开始日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="费用开始日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? FEESTARTDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///费用结束日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="费用结束日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? FEEENDDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///毛重(千克)单件
|
|
|
/// </summary>
|
|
|
[Display(Name ="毛重(千克)单件")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? KGS_SINGLE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///体积(立方米)单件
|
|
|
/// </summary>
|
|
|
[Display(Name ="体积(立方米)单件")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? CBM_SINGLE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///计费数量单件
|
|
|
/// </summary>
|
|
|
[Display(Name ="计费数量单件")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? STORAGEUNITCOUNT_SINGLE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///申报数量单件
|
|
|
/// </summary>
|
|
|
[Display(Name ="申报数量单件")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? RULEUNITCOUNT_SINGLE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///库管
|
|
|
/// </summary>
|
|
|
[Display(Name ="库管")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? OP { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///报关单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="报关单号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///账册编号
|
|
|
/// </summary>
|
|
|
[Display(Name ="账册编号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string ACCBOOKNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///费率开始日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="费率开始日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? FEERATESTARTDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货主
|
|
|
/// </summary>
|
|
|
[Display(Name ="货主")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string GOODSOWNER { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///入库日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="入库日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? WMSINDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ARCLIENTWMSOUT")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string ARCLIENTWMSOUT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="WMSBASEID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? WMSBASEID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="WMSPROJECTID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? WMSPROJECTID { get; set; }
|
|
|
|
|
|
|
|
|
}
|
|
|
} |