|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_IMPORT")]
|
|
|
public class VW_OP_WMS_IMPORT:BaseEntity
|
|
|
{
|
|
|
/// <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 GOODSNAME { 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 CUSTOMNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///件数
|
|
|
/// </summary>
|
|
|
[Display(Name ="件数")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///毛重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="毛重(千克)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///体积(立方米)
|
|
|
/// </summary>
|
|
|
[Display(Name ="体积(立方米)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///净重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="净重(千克)")]
|
|
|
[DisplayFormat(DataFormatString="18,3")]
|
|
|
[Column(TypeName="decimal")]
|
|
|
public decimal? NETWEIGHT { 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="datetime")]
|
|
|
public DateTime? INDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///操作
|
|
|
/// </summary>
|
|
|
[Display(Name ="操作")]
|
|
|
[MaxLength(150)]
|
|
|
[Column(TypeName="varchar(150)")]
|
|
|
public string OPNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///账册编号
|
|
|
/// </summary>
|
|
|
[Display(Name ="账册编号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string ACCBOOKNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///仓库名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="仓库名称")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string STORAGENAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///库位名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="库位名称")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string AREANAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="WMSID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid WMSID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货主
|
|
|
/// </summary>
|
|
|
[Display(Name ="货主")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string GOODSOWNER { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 规格型号
|
|
|
/// </summary>
|
|
|
[Display(Name = "规格型号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
public string GOODSMODEL { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 海关编号
|
|
|
/// </summary>
|
|
|
[Display(Name = "海关编号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
public string GOODSHSCODE { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 原产国
|
|
|
/// </summary>
|
|
|
[Display(Name = "原产国")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
public string COUNTRY { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 申报货值
|
|
|
/// </summary>
|
|
|
[Display(Name = "申报货值")]
|
|
|
|
|
|
[Column(TypeName = "numeric")]
|
|
|
public decimal? RULEAMOUNT { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 备注
|
|
|
/// </summary>
|
|
|
[Display(Name = "备注")]
|
|
|
[MaxLength(1024)]
|
|
|
[Column(TypeName = "varchar(1024)")]
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 托盘
|
|
|
/// </summary>
|
|
|
[Display(Name = "托盘")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
public string PALLET { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name = "包装")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
public string KINDPKGS { get; set; }
|
|
|
}
|
|
|
} |