30 lines
1023 B
C#
30 lines
1023 B
C#
using System;
|
||
using System.ComponentModel.DataAnnotations;
|
||
using System.ComponentModel.DataAnnotations.Schema;
|
||
using WalkingTec.Mvvm.Core;
|
||
|
||
namespace HHWMS.Web.Models
|
||
{
|
||
[Table("LocationZone")]
|
||
public class LocationZone : BasePoco
|
||
{
|
||
[Key]
|
||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||
public new int ID { get; set; }
|
||
|
||
[Display(Name = "Location.ZoneCode", Description = "库区")]
|
||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||
public string ZoneCode { get; set; }
|
||
|
||
[Display(Name = "Location.ZoneName", Description = "名称")]
|
||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||
public string Name { get; set; }
|
||
|
||
/// <summary>
|
||
/// 库区所在楼层(可选;AGV 任务 FromFloor/ToFloor 的取值来源,WMS 不做强校验)
|
||
/// </summary>
|
||
[Display(Name = "Location.Floor", Description = "库区楼层")]
|
||
public int? Floor { get; set; }
|
||
}
|
||
}
|