using System.ComponentModel; namespace Common.Enum { /// <summary> /// 是否枚举 /// </summary> [Description("是否枚举")] public enum YesNoEnum { /// <summary> /// 是 /// </summary> [Description("是")] Y = 1, /// <summary> /// 否 /// </summary> [Description("否")] N = 2 } }