using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace TProduct.Model { public class TestGrade { /// /// / /// [Display(Name = "标识")] public string ID { get; set; } /// /// /// [Display(Name = "Name")] public string Name { get; set; } /// /// 是否默认 /// [Display(Name = "IsDefault")] public bool IsDefault { get; set; } = false; /// /// /// public List JudgeItems { get; set; } } }