using System.ComponentModel.DataAnnotations; namespace PBS.Dto.WE { /// /// 用水当量项 /// public class UpdateItemInput { /// /// 标识 /// [Required, Range(1, long.MaxValue, ErrorMessage = "ID 必须大于0")] public long ID { get; set; } /// /// 名称 /// [Required] public string Name { get; set; } /// /// 参数 /// public Dictionary Paras { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 标志 /// public string TagName { get; set; } /// /// 说明 /// public string Description { get; set; } } }