|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_REP_OPWMS_WUTONG")]
|
|
|
public class VW_REP_OPWMS_WUTONG:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="STRID")]
|
|
|
[MaxLength(200)]
|
|
|
[Column(TypeName="varchar(200)")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public string STRID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///计费大类
|
|
|
/// </summary>
|
|
|
[Display(Name ="计费大类")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string GOODSFEETYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///原产国
|
|
|
/// </summary>
|
|
|
[Display(Name ="原产国")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
public string COUNTRY { 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 CUSTOMERNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///提单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="提单号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///20
|
|
|
/// </summary>
|
|
|
[Display(Name ="20")]
|
|
|
[Column(TypeName="int")]
|
|
|
public int? BOX20 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///40
|
|
|
/// </summary>
|
|
|
[Display(Name ="40")]
|
|
|
[Column(TypeName="int")]
|
|
|
public int? BOX40 { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///毛重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="毛重(千克)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///净重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="净重(千克)")]
|
|
|
[DisplayFormat(DataFormatString="38,3")]
|
|
|
[Column(TypeName="decimal")]
|
|
|
public decimal? NETWEIGHT { 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 GOODSOWNER { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///仓库
|
|
|
/// </summary>
|
|
|
[Display(Name ="仓库")]
|
|
|
[MaxLength(200)]
|
|
|
[Column(TypeName="nvarchar(200)")]
|
|
|
public string STOREHOUSE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///库位
|
|
|
/// </summary>
|
|
|
[Display(Name ="库位")]
|
|
|
[MaxLength(200)]
|
|
|
[Column(TypeName="nvarchar(200)")]
|
|
|
public string AREACODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///入库数(吨)
|
|
|
/// </summary>
|
|
|
[Display(Name ="入库数(吨)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? STORAGEUNITCOUNT_IN { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///入库件数
|
|
|
/// </summary>
|
|
|
[Display(Name ="入库件数")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? PKGS_IN { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///入库日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="入库日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? DODATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///累计出库(吨)
|
|
|
/// </summary>
|
|
|
[Display(Name ="累计出库(吨)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? STORAGEUNITCOUNT_OUT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///累计出库件数
|
|
|
/// </summary>
|
|
|
[Display(Name ="累计出库件数")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? PKGS_OUT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///实际库存(吨)
|
|
|
/// </summary>
|
|
|
[Display(Name ="实际库存(吨)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? STORAGEUNITCOUNT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///实际库存(件)
|
|
|
/// </summary>
|
|
|
[Display(Name ="实际库存(件)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///涨亏库
|
|
|
/// </summary>
|
|
|
[Display(Name ="涨亏库")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? ZKK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///清库日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="清库日期")]
|
|
|
[MaxLength(12)]
|
|
|
[Column(TypeName="varchar(12)")]
|
|
|
public string QKRQ { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///堆存日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="堆存日期")]
|
|
|
[Column(TypeName="int")]
|
|
|
public int? DCTS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///分公司
|
|
|
/// </summary>
|
|
|
[Display(Name = "分公司")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
public string CORPID { get; set; }
|
|
|
}
|
|
|
} |