|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_Physics_Need")]
|
|
|
public class Vw_Op_Wms_Physics_Need: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")]
|
|
|
public Guid? WMSID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///提单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="提单号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱号
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货物名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="货物名称")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///仓库
|
|
|
/// </summary>
|
|
|
[Display(Name ="仓库")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string STOREHOUSE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///库位
|
|
|
/// </summary>
|
|
|
[Display(Name ="库位")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string AREACODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///毛重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="毛重(千克)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///净重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="净重(千克)")]
|
|
|
//[DisplayFormat(DataFormatString="18,3")]
|
|
|
//[Column(TypeName="decimal")]
|
|
|
[Column(TypeName = "numeric")]
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///体积(立方米)
|
|
|
/// </summary>
|
|
|
[Display(Name ="体积(立方米)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///件数
|
|
|
/// </summary>
|
|
|
[Display(Name ="件数")]
|
|
|
[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 ="包装")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string KINDPKGS { 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="uniqueidentifier")]
|
|
|
public Guid? OP { 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 ="TONS")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? TONS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///最初入库日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="最初入库日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? INDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///客户名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="客户名称")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="MBLNOCNTRNO")]
|
|
|
[MaxLength(101)]
|
|
|
[Column(TypeName="varchar(101)")]
|
|
|
public string MBLNOCNTRNO { 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 = "规格型号")]
|
|
|
[Column(TypeName = "varchar(500)")]
|
|
|
public string GOODSMODEL { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///入库备注
|
|
|
/// </summary>
|
|
|
[Display(Name = "入库备注")]
|
|
|
[Column(TypeName = "varchar(500)")]
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货备注
|
|
|
/// </summary>
|
|
|
[Display(Name = "货备注")]
|
|
|
[Column(TypeName = "varchar(500)")]
|
|
|
public string REMARK_GOODS { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
///报关单号 库存的
|
|
|
/// </summary>
|
|
|
[Display(Name = "报关单号")]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name = "是否保税")]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
public string BILLTYPE { get; set; }
|
|
|
}
|
|
|
} |