|
|
|
|
/*
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_REP_BILLWMS")]
|
|
|
|
|
public class VW_OP_REP_BILLWMS:BaseEntity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///分公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="分公司")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///提单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="提单号")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///报关单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="报关单号")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string CUSTOMNO { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///货物名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="货物名称")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///客户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="客户名称")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///箱数(剩余)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="箱数(剩余)")]
|
|
|
|
|
[Column(TypeName="int")]
|
|
|
|
|
public int? CTNNUM { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///毛重(千克)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="毛重(千克)")]
|
|
|
|
|
[Column(TypeName="numeric")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public decimal? KGS { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="件数")]
|
|
|
|
|
[Column(TypeName="numeric")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public decimal? PKGS { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///体积(立方米)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="体积(立方米)")]
|
|
|
|
|
[Column(TypeName="numeric")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public decimal? CBM { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///净重(千克)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="净重(千克)")]
|
|
|
|
|
[DisplayFormat(DataFormatString="38,3")]
|
|
|
|
|
[Column(TypeName="decimal")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public decimal? NETWEIGHT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///计费数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="计费数量")]
|
|
|
|
|
[Column(TypeName="numeric")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public decimal? STORAGEUNITCOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///计费单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="计费单位")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string STORAGEUNIT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///申报数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="申报数量")]
|
|
|
|
|
[Column(TypeName="numeric")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public decimal? RULEUNITCOUNT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///申报单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="申报单位")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string RULEUNIT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///最初入库日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="最初入库日期")]
|
|
|
|
|
[Column(TypeName="datetime")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public DateTime? INDATE { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///账册号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="账册号")]
|
|
|
|
|
[MaxLength(100)]
|
|
|
|
|
[Column(TypeName="varchar(100)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string ACCBOOKNO { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///计费品类
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="计费品类")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string GOODSFEETYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///货主
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="货主")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string GOODSOWNER { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///货物大类
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="货物大类")]
|
|
|
|
|
[MaxLength(36)]
|
|
|
|
|
[Column(TypeName="varchar(36)")]
|
|
|
|
|
[Editable(true)]
|
|
|
|
|
public string GOODSTYPEGID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Key]
|
|
|
|
|
[Display(Name = "indexid")]
|
|
|
|
|
[MaxLength(10)]
|
|
|
|
|
[Column(TypeName = "string")]
|
|
|
|
|
[Required(AllowEmptyStrings = false)]
|
|
|
|
|
public string indexid { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///客户全称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name ="客户全称")]
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
[Column(TypeName="nvarchar(200)")]
|
|
|
|
|
public string CUSTOMERFULLNAME { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///货主全称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name = "货主全称")]
|
|
|
|
|
[MaxLength(200)]
|
|
|
|
|
[Column(TypeName = "nvarchar(200)")]
|
|
|
|
|
public string GOODSOWNERFULLNAME { 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 STOREHOUSE { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///船名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name = "船名")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
|
|
public string GOODSMODEL18 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///航次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name = "航次")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
|
|
public string GOODSMODEL19 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///核注清单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name = "核注清单号")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
|
|
public string GOODSMODEL20 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///监管方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Display(Name = "贸易方式")]
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
|
|
public string TRADETYPE { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|