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/WMS/OP_WMS_MOVE_DETAIL.cs

222 lines
5.8 KiB
C#

2 years ago
/*
*,
*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 = "OP_WMS_MOVE_DETAIL")]
public class OP_WMS_MOVE_DETAIL:BaseEntity
{
/// <summary>
///
/// </summary>
[Key]
[Display(Name ="WMSMOVEDETAILID")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid WMSMOVEDETAILID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="WMSDOID")]
[Column(TypeName="uniqueidentifier")]
[Required(AllowEmptyStrings=false)]
public Guid WMSDOID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="WMSID")]
[Column(TypeName="uniqueidentifier")]
public Guid? WMSID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="WMSPHYSICSID")]
[Column(TypeName="uniqueidentifier")]
public Guid? WMSPHYSICSID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="WMSPHYSICSID_NEW")]
[Column(TypeName="uniqueidentifier")]
public Guid? WMSPHYSICSID_NEW { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="STOREHOUSE")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string STOREHOUSE { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="AREACODE")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string AREACODE { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="STOREHOUSE_NEW")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string STOREHOUSE_NEW { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="AREACODE_NEW")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string AREACODE_NEW { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="KGS")]
[Column(TypeName="numeric")]
public decimal? KGS { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="NETWEIGHT")]
[DisplayFormat(DataFormatString="18,3")]
[Column(TypeName="decimal")]
public decimal? NETWEIGHT { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CBM")]
[Column(TypeName="numeric")]
public decimal? CBM { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="PKGS")]
[Column(TypeName="numeric")]
public decimal? PKGS { 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 ="KINDPKGS")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string KINDPKGS { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="STORAGEUNIT")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string STORAGEUNIT { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="STORAGEUNITCOUNT")]
[Column(TypeName="numeric")]
public decimal? STORAGEUNITCOUNT { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="RULEUNIT")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string RULEUNIT { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="RULEUNITCOUNT")]
[Column(TypeName="numeric")]
public decimal? RULEUNITCOUNT { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="ModifyID")]
[Column(TypeName="uniqueidentifier")]
public Guid? ModifyID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="Modifier")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string Modifier { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="ModifyDate")]
[Column(TypeName="datetime")]
public DateTime? ModifyDate { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CreateID")]
[Column(TypeName="uniqueidentifier")]
public Guid? CreateID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="Creator")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string Creator { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CreateDate")]
[Column(TypeName="datetime")]
public DateTime? CreateDate { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="OP")]
[Column(TypeName="uniqueidentifier")]
public Guid? OP { get; set; }
public decimal? NETWEIGHT_TON { get { return NETWEIGHT == null ? null : NETWEIGHT / 1000; } }
public decimal? KGS_TON { get { return KGS == null ? null : KGS / 1000; } }
2 years ago
}
}