|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此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_IN_DO")]
|
|
|
public class VW_OP_WMS_IN_DO:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///执行单序列号
|
|
|
/// </summary>
|
|
|
[Display(Name ="执行单序列号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///主键ID
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="主键ID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid WMSDOID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///计划单编号
|
|
|
/// </summary>
|
|
|
[Display(Name ="计划单编号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string WMS_PLAN_BSNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="BILLTYPE")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string BILLTYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///客户名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="客户名称")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string CUSTOMERNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货主
|
|
|
/// </summary>
|
|
|
[Display(Name ="货主")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string GOODSOWNER { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///物料号
|
|
|
/// </summary>
|
|
|
[Display(Name ="物料号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string MATERIALNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货物编码
|
|
|
/// </summary>
|
|
|
[Display(Name ="货物编码")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string GOODSCODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///货物名称
|
|
|
/// </summary>
|
|
|
[Display(Name ="货物名称")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string GOODSNAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///HS代码
|
|
|
/// </summary>
|
|
|
[Display(Name ="HS代码")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string GOODSHSCODE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///提单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="提单号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string MBLNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱号
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱号")]
|
|
|
[MaxLength(200)]
|
|
|
[Column(TypeName="nvarchar(200)")]
|
|
|
public string CNTRNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///执行状态
|
|
|
/// </summary>
|
|
|
[Display(Name ="执行状态")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName="varchar(20)")]
|
|
|
[Editable(true)]
|
|
|
public string BILLSTATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///毛重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="毛重(千克)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public decimal KGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///体积(立方米)
|
|
|
/// </summary>
|
|
|
[Display(Name ="体积(立方米)")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public decimal CBM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///箱量
|
|
|
/// </summary>
|
|
|
[Display(Name ="箱量")]
|
|
|
[Column(TypeName="int")]
|
|
|
public int? CTNNUM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///件数
|
|
|
/// </summary>
|
|
|
[Display(Name ="件数")]
|
|
|
[Column(TypeName="numeric")]
|
|
|
[Editable(true)]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public decimal PKGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///是否已完税
|
|
|
/// </summary>
|
|
|
[Display(Name ="是否已完税")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? PAYEDTAXES { 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)]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public decimal STORAGEUNITCOUNT { 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="numeric")]
|
|
|
[Editable(true)]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public decimal RULEUNITCOUNT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///业务锁定
|
|
|
/// </summary>
|
|
|
[Display(Name ="业务锁定")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? BSSTATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///建立时间
|
|
|
/// </summary>
|
|
|
[Display(Name ="建立时间")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///操作员
|
|
|
/// </summary>
|
|
|
[Display(Name ="操作员")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
[Editable(true)]
|
|
|
public string Creator { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///操作员
|
|
|
/// </summary>
|
|
|
[Display(Name ="操作员")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? CreateID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///备注
|
|
|
/// </summary>
|
|
|
[Display(Name ="备注")]
|
|
|
[MaxLength(1024)]
|
|
|
[Column(TypeName = "varchar(1024)")]
|
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///费用锁定
|
|
|
/// </summary>
|
|
|
[Display(Name ="费用锁定")]
|
|
|
[Column(TypeName="bit")]
|
|
|
public bool? FEESTATUS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///包装
|
|
|
/// </summary>
|
|
|
[Display(Name ="包装")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string KINDPKGS { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///入库日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="入库日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? DODATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///分公司
|
|
|
/// </summary>
|
|
|
[Display(Name ="分公司")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///净重(千克)
|
|
|
/// </summary>
|
|
|
[Display(Name ="净重(千克)")]
|
|
|
//[DisplayFormat(DataFormatString="18,3")]
|
|
|
//[Column(TypeName="decimal")]
|
|
|
[Column(TypeName = "numeric")]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public decimal NETWEIGHT { 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)")]
|
|
|
public string GOODSFEETYPE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///车号
|
|
|
/// </summary>
|
|
|
[Display(Name ="车号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string TRUCKNO { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///应收仓储费对象
|
|
|
/// </summary>
|
|
|
[Display(Name ="应收仓储费对象")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string ARCLIENTWMSOUT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///应付仓储费对象
|
|
|
/// </summary>
|
|
|
[Display(Name ="应付仓储费对象")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string APCLIENTWMSOUT { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///费用开始日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="费用开始日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? FEESTARTDATE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///核注清单号
|
|
|
/// </summary>
|
|
|
[Display(Name ="核注清单号")]
|
|
|
[MaxLength(50)]
|
|
|
[Column(TypeName="varchar(50)")]
|
|
|
public string HZQDBH { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///进境备案申报日期
|
|
|
/// </summary>
|
|
|
[Display(Name ="进境备案申报日期")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
public DateTime? JINJINGBEIANSHENBAORIQI { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///仓库
|
|
|
/// </summary>
|
|
|
[Display(Name = "仓库")]
|
|
|
[MaxLength(20)]
|
|
|
[Column(TypeName = "varchar(20)")]
|
|
|
public string STOREHOUSE { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///装卸方式
|
|
|
/// </summary>
|
|
|
[Display(Name = "装卸方式")]
|
|
|
[MaxLength(50)]
|
|
|
[Editable(true)]
|
|
|
[Column(TypeName = "varchar(50)")]
|
|
|
public string WMSWORKTYPE { get; set; }
|
|
|
|
|
|
|
|
|
public decimal NETWEIGHT_TON { get { return NETWEIGHT / 1000; } }
|
|
|
public decimal KGS_TON { get { return KGS / 1000; } }
|
|
|
}
|
|
|
} |