You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DSWMS/Vue.Net/VOL.Entity/DomainModels/WMS/OP_WMS.cs

414 lines
10 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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