添加项目文件。
This commit is contained in:
1 parent
05e131ca4e
commit
514d6f5255
1162 files changed
+81255
No files matched your search
@@ -0,0 +1,45 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models
|
||||
{
|
||||
[Table("Container")]
|
||||
public class Container : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
[Display(Name = "Container.Code", Description = "容器编码")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Code { get; set; }
|
||||
|
||||
[Display(Name = "Container.Type", Description = "容器类型")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Type { get; set; }
|
||||
|
||||
[Display(Name = "Container.IsLock", Description = "锁类型")]
|
||||
public ContainerLockEnum IsLock { get; set; }
|
||||
|
||||
[Display(Name = "Container.Status", Description = "容器状态")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Status { get; set; }
|
||||
|
||||
[Display(Name = "Container.LocationCode", Description = "库位编码")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string LocationCode { get; set; }
|
||||
|
||||
[Display(Name = "System.Length", Description = "长")]
|
||||
[Column(TypeName = "decimal(8,3)")]
|
||||
public decimal? Length { get; set; }
|
||||
|
||||
[Display(Name = "System.Width", Description = "宽")]
|
||||
[Column(TypeName = "decimal(8,3)")]
|
||||
public decimal? Width { get; set; }
|
||||
|
||||
[Display(Name = "System.Height", Description = "高")]
|
||||
[Column(TypeName = "decimal(8,3)")]
|
||||
public decimal? Height { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user