22 lines
631 B
C#
22 lines
631 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using WalkingTec.Mvvm.Core;
|
|
|
|
namespace HHWMS.Web.Models
|
|
{
|
|
[Table("SysCount")]
|
|
public class SysCount : BasePoco
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public new int ID { get; set; }
|
|
|
|
[Display(Name = "SysCount.Prefix", Description = "前缀")]
|
|
[StringLength(5, ErrorMessage = "Validate.{0}stringmax{1}")]
|
|
public string Prefix { get; set; }
|
|
|
|
[Display(Name = "SysCount.Value", Description = "值")]
|
|
public int Value { get; set; }
|
|
}
|
|
}
|