添加项目文件。
This commit is contained in:
1 parent
05e131ca4e
commit
514d6f5255
1162 files changed
+81255
No files matched your search
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models
|
||||
{
|
||||
[Table("Location")]
|
||||
public class Location : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
[Display(Name = "Location.Code", Description = "库位编码")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Code { get; set; }
|
||||
|
||||
[Display(Name = "Location.Type", Description = "库位类型")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public string Type { get; set; }
|
||||
|
||||
[Display(Name = "Location.Status", Description = "库位状态")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string Status { get; set; }
|
||||
|
||||
[Display(Name = "Location.Row", Description = "行")]
|
||||
public short Row { get; set; }
|
||||
|
||||
[Display(Name = "Location.Line", Description = "列")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public short Line { get; set; }
|
||||
|
||||
[Display(Name = "Location.Layer", Description = "层")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public short Layer { get; set; }
|
||||
|
||||
[Display(Name = "Location.RoadWay", Description = "巷道")]
|
||||
[Required(ErrorMessage = "Validate.{0}required")]
|
||||
public short? RoadWay { get; set; }
|
||||
|
||||
[Display(Name = "Location.RowFlag", Description = "内外标识,0:外仓位,1:里仓位")]
|
||||
public short? RowFlag { get; set; }
|
||||
|
||||
[Display(Name = "Location.ContainerCode", Description = "容器编码")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ContainerCode { get; set; }
|
||||
|
||||
[Display(Name = "Location.ZoneCode", Description = "库区")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ZoneCode { get; set; }
|
||||
|
||||
[Display(Name = "Location.IsStop", Description = "是否禁用")]
|
||||
public bool IsStop { 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; }
|
||||
|
||||
[Display(Name = "Location.ContiguousCode", Description = "相邻库位")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ContiguousCode { get; set; }
|
||||
|
||||
public Guid? Version { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user