/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此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")]
public partial class OP_WMS:BaseEntity
{
///
///
///
[Key]
[Display(Name ="WMSID")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid WMSID { get; set; }
///
///
///
[Display(Name ="BSNO")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string BSNO { get; set; }
///
///
///
[Display(Name ="BILLTYPE")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string BILLTYPE { get; set; }
///
///
///
[Display(Name ="REMARK")]
[MaxLength(1024)]
[Column(TypeName="varchar(1024)")]
public string REMARK { get; set; }
///
///
///
[Display(Name ="CORPID")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string CORPID { get; set; }
///
///
///
[Display(Name ="ModifyID")]
[Column(TypeName="uniqueidentifier")]
public Guid? ModifyID { get; set; }
///
///
///
[Display(Name ="Modifier")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string Modifier { get; set; }
///
///
///
[Display(Name ="ModifyDate")]
[Column(TypeName="datetime")]
public DateTime? ModifyDate { get; set; }
///
///
///
[Display(Name ="CreateID")]
[Column(TypeName="uniqueidentifier")]
public Guid? CreateID { get; set; }
///
///
///
[Display(Name ="Creator")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string Creator { get; set; }
///
///
///
[Display(Name ="CreateDate")]
[Column(TypeName="datetime")]
public DateTime? CreateDate { get; set; }
///
///
///
[Display(Name ="CUSTOMERNAME")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string CUSTOMERNAME { get; set; }
///
///
///
[Display(Name ="MATERIALNO")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string MATERIALNO { get; set; }
///
///
///
[Display(Name ="GOODSCODE")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string GOODSCODE { get; set; }
///
///
///
[Display(Name ="GOODSNAME")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string GOODSNAME { get; set; }
///
///
///
[Display(Name ="GOODSHSCODE")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string GOODSHSCODE { get; set; }
///
///
///
[Display(Name ="MBLNO")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string MBLNO { get; set; }
///
///
///
[Display(Name ="CNTRNO")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string CNTRNO { get; set; }
///
///原箱号
///
[Display(Name = "原箱号")]
[MaxLength(50)]
[Column(TypeName = "varchar(50)")]
public string OLD_CNTRNO { get; set; }
///
///
///
[Display(Name ="KGS")]
[Column(TypeName="numeric")]
public decimal? KGS { get; set; }
///
///
///
[Display(Name ="CBM")]
[Column(TypeName="numeric")]
public decimal? CBM { get; set; }
///
///
///
[Display(Name ="PKGS")]
[Column(TypeName="numeric")]
public decimal? PKGS { get; set; }
///
///件数
///
[Display(Name = "件数2")]
[Column(TypeName = "numeric")]
public decimal? SMALLPKGS { get; set; }
///
///件数
///
[Display(Name = "件数3")]
[Column(TypeName = "numeric")]
public decimal? MINPKGS { get; set; }
///
///
///
[Display(Name ="KINDPKGS")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string KINDPKGS { get; set; }
///
///
///
[Display(Name ="STORAGEUNIT")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string STORAGEUNIT { get; set; }
///
///
///
[Display(Name ="STORAGEUNITCOUNT")]
[Column(TypeName="numeric")]
public decimal? STORAGEUNITCOUNT { get; set; }
///
///
///
[Display(Name ="RULEUNIT")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string RULEUNIT { get; set; }
///
///
///
[Display(Name ="RULEUNITCOUNT")]
[Column(TypeName="numeric")]
public decimal? RULEUNITCOUNT { get; set; }
///
///
///
[Display(Name ="ISCLEAR")]
[Column(TypeName="bit")]
public bool? ISCLEAR { get; set; }
///
///
///
[Display(Name ="BSSTATUS")]
[Column(TypeName="bit")]
public bool? BSSTATUS { get; set; }
///
///
///
[Display(Name ="FEESTATUS")]
[Column(TypeName="bit")]
public bool? FEESTATUS { get; set; }
///
///
///
//[Display(Name ="TIMEMARK")]
//[MaxLength(8)]
//[Column(TypeName="timestamp(8)")]
//public string TIMEMARK { get; set; }
///
///
///
[Display(Name ="FEEENDDATE")]
[Column(TypeName="datetime")]
public DateTime? FEEENDDATE { get; set; }
///
///
///
[Display(Name ="FEESTARTDATE")]
[Column(TypeName="datetime")]
public DateTime? FEESTARTDATE { get; set; }
///
///
///
[Display(Name ="INDATE")]
[Column(TypeName="datetime")]
public DateTime? INDATE { get; set; }
///
///
///
[Display(Name ="KGS_SINGLE")]
[Column(TypeName="numeric")]
public decimal? KGS_SINGLE { get; set; }
///
///
///
[Display(Name ="CBM_SINGLE")]
[Column(TypeName="numeric")]
public decimal? CBM_SINGLE { get; set; }
///
///
///
[Display(Name ="STORAGEUNITCOUNT_SINGLE")]
[Column(TypeName="numeric")]
public decimal? STORAGEUNITCOUNT_SINGLE { get; set; }
///
///
///
[Display(Name ="RULEUNITCOUNT_SINGLE")]
[Column(TypeName="numeric")]
public decimal? RULEUNITCOUNT_SINGLE { get; set; }
///
///
///
[Display(Name ="OP")]
[Column(TypeName="uniqueidentifier")]
public Guid? OP { get; set; }
///
///
///
[Display(Name ="NETWEIGHT")]
[DisplayFormat(DataFormatString="18,3")]
[Column(TypeName="decimal")]
public decimal? NETWEIGHT { get; set; }
///
///
///
[Display(Name ="CUSTOMNO")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string CUSTOMNO { get; set; }
///
///
///
[Display(Name ="ACCBOOKNO")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string ACCBOOKNO { get; set; }
///
///
///
[Display(Name ="GOODSOWNER")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string GOODSOWNER { get; set; }
///
///
///
[Display(Name ="FEERATESTARTDATE")]
[Column(TypeName="datetime")]
public DateTime? FEERATESTARTDATE { get; set; }
///
///
///
[Display(Name ="WMSINDATE")]
[Column(TypeName="datetime")]
public DateTime? WMSINDATE { get; set; }
///
///
///
[Display(Name ="ARCLIENTWMSOUT")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string ARCLIENTWMSOUT { get; set; }
///
///
///
[Display(Name ="COUNTRY")]
[MaxLength(100)]
[Column(TypeName="varchar(100)")]
public string COUNTRY { get; set; }
///
///
///
[Display(Name ="WMSBASEID")]
[Column(TypeName="uniqueidentifier")]
public Guid? WMSBASEID { get; set; }
///
///
///
[Display(Name ="APCLIENTWMSOUT")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string APCLIENTWMSOUT { get; set; }
///
///
///
[Display(Name ="WMSPROJECTID")]
[Column(TypeName="uniqueidentifier")]
public Guid? WMSPROJECTID { get; set; }
public decimal? NETWEIGHT_TON { get { return NETWEIGHT == null ? null : NETWEIGHT / 1000; } }
public decimal? KGS_TON { get { return KGS == null ? null : KGS / 1000; } }
}
}