You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DSWMS/Vue.Net/VOL.Entity/DomainModels/WMSOUT/VW_OP_WMS_OUT_PLAN.cs

455 lines
12 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化请在代码生器重新生成此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_OUT_PLAN")]
public class VW_OP_WMS_OUT_PLAN:BaseEntity
{
/// <summary>
///
/// </summary>
[Key]
[Display(Name ="WMSPLANID")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid WMSPLANID { get; set; }
/// <summary>
///单号
/// </summary>
[Display(Name ="单号")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string WMSNO { get; set; }
/// <summary>
///计划出库时间
/// </summary>
[Display(Name ="计划出库时间")]
[Column(TypeName="date")]
public DateTime? PLANTIME { 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 CORPID { get; set; }
/// <summary>
///备注
/// </summary>
[Display(Name ="备注")]
[MaxLength(400)]
[Column(TypeName="varchar(400)")]
public string REMARK { get; set; }
/// <summary>
///建立人
/// </summary>
[Display(Name ="建立人")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string Creator { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CreateID")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string CreateID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CreateDate")]
[Column(TypeName="datetime")]
public DateTime? CreateDate { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="FEESTATUS")]
[Column(TypeName="bit")]
public bool? FEESTATUS { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="BSSTATUS")]
[Column(TypeName="bit")]
public bool? BSSTATUS { get; set; }
/// <summary>
///
/// </summary>
[Display(Name = "BILLSTATUS")]
[Column(TypeName = "varchar(50)")]
public string BILLSTATUS { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="TIMEMARK")]
[Column(TypeName="datetime")]
public DateTime? TIMEMARK { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="ModifyDate")]
[Column(TypeName="datetime")]
public DateTime? ModifyDate { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="ModifyID")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string ModifyID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="Modifier")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string Modifier { get; set; }
/// <summary>
///是否完成
/// </summary>
[Display(Name ="是否完成")]
[Column(TypeName="bit")]
public bool? ISEND { get; set; }
/// <summary>
///报关单号
/// </summary>
[Display(Name ="报关单号")]
[MaxLength(200)]
[Column(TypeName="varchar(200)")]
public string CUSTOMNO { get; set; }
/// <summary>
///提单号
/// </summary>
[Display(Name ="提单号")]
[MaxLength(200)]
[Column(TypeName="nvarchar(200)")]
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(200)]
[Column(TypeName="varchar(200)")]
public string GOODSFEETYPE { get; set; }
/// <summary>
///货物名称
/// </summary>
[Display(Name ="货物名称")]
[MaxLength(200)]
[Column(TypeName="varchar(200)")]
public string GOODSNAME { get; set; }
/// <summary>
///货主
/// </summary>
[Display(Name ="货主")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string GOODSOWNER { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="ISOUTTRANSFER")]
[Column(TypeName="bit")]
public bool? ISOUTTRANSFER { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="STOREHOUSEENDDATE")]
[Column(TypeName="datetime")]
public DateTime? STOREHOUSEENDDATE { get; set; }
/// <summary>
///提货单位
/// </summary>
[Display(Name ="提货单位")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string PICKUPNAME { get; set; }
/// <summary>
///计划吨位
/// </summary>
[Display(Name ="计划吨位")]
[Column(TypeName="numeric")]
public decimal? PLANCOUNT { get; set; }
/// <summary>
///仓库
/// </summary>
[Display(Name ="仓库")]
[MaxLength(600)]
[Column(TypeName="nvarchar(600)")]
public string STOREHOUSE { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="STLMODE")]
[Column(TypeName="tinyint")]
public byte? STLMODE { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CUSTNO")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string CUSTNO { get; set; }
/// <summary>
///仓库联系人
/// </summary>
[Display(Name ="仓库联系人")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string STOREHOUSECONTACT { get; set; }
/// <summary>
///规格型号
/// </summary>
[Display(Name ="规格型号")]
[MaxLength(600)]
[Column(TypeName="nvarchar(600)")]
public string GOODSMODEL { get; set; }
/// <summary>
///仓库
/// </summary>
[Display(Name ="仓库")]
[MaxLength(600)]
[Column(TypeName="nvarchar(600)")]
public string STOREHOUSENAME { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="AREACODE")]
[MaxLength(600)]
[Column(TypeName="nvarchar(600)")]
public string AREACODE { get; set; }
/// <summary>
///库位
/// </summary>
[Display(Name ="库位")]
[MaxLength(600)]
[Column(TypeName="nvarchar(600)")]
public string AREANAME { get; set; }
/// <summary>
///入库备注
/// </summary>
[Display(Name ="入库备注")]
[MaxLength(12)]
[Column(TypeName="varchar(12)")]
public string IN_REMARK { get; set; }
/// <summary>
///货备注
/// </summary>
[Display(Name ="货备注")]
[MaxLength(12)]
[Column(TypeName="varchar(12)")]
public string REMARK_GOODS { get; set; }
/// <summary>
///是否保税
/// </summary>
[Display(Name ="是否保税")]
[MaxLength(12)]
[Column(TypeName="varchar(12)")]
public string ISBONDED { get; set; }
/// <summary>
///原产国
/// </summary>
[Display(Name ="原产国")]
[MaxLength(12)]
[Column(TypeName="varchar(12)")]
public string COUNTRY { get; set; }
/// <summary>
///件数_明细合计
/// </summary>
[Display(Name = "件数_明细合计")]
[Column(TypeName = "numeric")]
public decimal? SUM_PKGS { get; set; }
/// <summary>
/// 计费数量_明细合计
/// </summary>
[Display(Name = "计费数量_明细合计")]
[Column(TypeName = "numeric")]
public decimal? SUM_STORAGEUNITCOUNT { get; set; }
/// <summary>
///毛重_明细合计
/// </summary>
[Display(Name = "毛重_明细合计")]
[Column(TypeName = "numeric")]
public decimal? SUM_KGS { get; set; }
/// <summary>
/// 净重_明细合计
/// </summary>
[Display(Name = "净重_明细合计")]
[Column(TypeName = "numeric")]
public decimal? SUM_NETWEIGHT { get; set; }
/// <summary>
///毛重吨_明细合计
/// </summary>
[Display(Name = "毛重吨_明细合计")]
[Column(TypeName = "numeric")]
public decimal? SUM_KGS_TON { get; set; }
/// <summary>
/// 净重吨_明细合计
/// </summary>
[Display(Name = "净重吨_明细合计")]
[Column(TypeName = "numeric")]
public decimal? SUM_NETWEIGHT_TON { get; set; }
/// <summary>
/// 体积_明细合计
/// </summary>
[Display(Name = "体积_明细合计")]
[Column(TypeName = "numeric")]
public decimal? SUM_CBM { get; set; }
/// <summary>
///指定_件数
/// </summary>
[Display(Name = "指定_件数")]
[Column(TypeName = "numeric")]
public decimal? PKGS { get; set; }
/// <summary>
/// 指定 计费数量
/// </summary>
[Display(Name ="指定_计费数量")]
[Column(TypeName="numeric")]
public decimal? STORAGEUNITCOUNT { 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 = "指定_毛重")]
[Column(TypeName = "numeric")]
public decimal? KGS { get; set; }
/// <summary>
///指定_件数
/// </summary>
[Display(Name = "指定_净重")]
[Column(TypeName = "numeric")]
public decimal? NETWEIGHT { get; set; }
/// <summary>
///指定_件数
/// </summary>
[Display(Name = "指定_体积")]
[Column(TypeName = "numeric")]
public decimal? CBM { get; set; }
/// <summary>
/// 是否保税
/// </summary>
[Display(Name = "BILLTYPE")]
[Column(TypeName = "varchar(50)")]
public string BILLTYPE { get; set; }
/// <summary>
///是否指定数量
/// </summary>
[Display(Name = "是否指定数量")]
[Column(TypeName = "bit")]
[Editable(true)]
public bool? ISSPENUM { get; set; }
/// <summary>
///是否批次出库
/// </summary>
[Display(Name = "ISBATCHSTOCK")]
[Column(TypeName = "bit")]
public bool ISBATCHSTOCK { get; set; } = false;
[Display(Name = "销售")]
[Column(TypeName = "uniqueidentifier")]
public Guid? SALE { get; set; }
[Display(Name = "库管")]
[Column(TypeName = "varchar(50)")]
public string OPNAME { get; set; }
[Display(Name = "客户账期")]
[Column(TypeName = "varchar(50)")]
public string ACCTYPE { get; set; }
public decimal? NETWEIGHT_TON { get { return NETWEIGHT == null ? null : NETWEIGHT / 1000; } }
public decimal? KGS_TON { get { return KGS == null ? null : KGS / 1000; } }
}
}