using System.ComponentModel.DataAnnotations; namespace HStation.Dto { /// /// 消火栓系列 /// public class AddAssetsHydrantSeriesInput { /// /// 所属类别ID /// [Required, Range(1, long.MaxValue, ErrorMessage ="CatalogID 必须大于0")] public long CatalogID { get; set; } /// /// 名称 /// [Required] public string Name { get; set; } /// /// 父级id列表(版本控制 /// public List ParentIds { get; set; } /// /// 参数 /// public Dictionary Paras { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 标志 /// public string TagName { get; set; } /// /// 说明 /// public string Description { get; set; } } }