namespace Yw.Application { /// /// /// public class SetHealthImportanceInput { /// /// id /// [Required] public long ID { get; set; } /// /// 名称 /// [Required] public string Name { get; set; } /// /// 权重 /// [Required, Range(0, int.MaxValue, ErrorMessage = "Weight 不能为负数")] public int Weight { get; set; } /// /// 说明 /// public string Description { get; set; } } }