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