|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_PHYSICS")]
|
|
|
public partial class OP_WMS_PHYSICS:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="WMSPHYSICSID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid WMSPHYSICSID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="WMSID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[ParentId("")]
|
|
|
public Guid WMSID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="STOREHOUSE")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string STOREHOUSE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="AREACODE")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string AREACODE { 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 ="STARTDATE")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? STARTDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="FEEENDDATE")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? FEEENDDATE { 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 = "NETWEIGHT")]
|
|
|
//[DisplayFormat(DataFormatString="18,3")]
|
|
|
//[Column(TypeName="decimal")]
|
|
|
[Column(TypeName = "numeric")]
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
|
public decimal? NETWEIGHT_TON { get { return NETWEIGHT == null ? null : NETWEIGHT / 1000; } }
|
|
|
public decimal? KGS_TON { get { return KGS == null ? null : KGS / 1000; } }
|
|
|
}
|
|
|
} |