Blog.Core/Blog.Core.Common/Attribute/EnumAttachedAttribute.cs
2021-11-18 16:08:03 +08:00

29 lines
638 B
C#

using System;
namespace Blog.Core.Common
{
[AttributeUsage(AttributeTargets.Field, Inherited = true)]
public class EnumAttachedAttribute : Attribute
{
/// <summary>
/// 标签类型 样式
/// </summary>
public string TagType { get; set; }
/// <summary>
/// 中文描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 图标
/// </summary>
public string Icon { get; set; }
/// <summary>
/// 图标颜色
/// </summary>
public string IconColor { get; set; }
}
}