mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
29 lines
638 B
C#
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; }
|
|
}
|
|
}
|