using System.ComponentModel; namespace Admin.NET.Core { /// /// 是否枚举 /// public enum YesNoEnum { /// /// 是 /// [Description("是")] Y = 1, /// /// 否 /// [Description("否")] N = 2 } }