24 lines
752 B
C#
24 lines
752 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; }
|
|
}
|
|
}
|