using System.ComponentModel.DataAnnotations; namespace NewPdaSqlServer.Dto.Warehouse{ public class DefineTask005Dto { /// /// 呼叫点位 /// [Range(1, int.MaxValue, ErrorMessage = "有效位置编号必填")] public int Postition { get; set; } } }