Files
xinjiang/SGGL/WebAPI/Areas/HelpPage/ModelDescriptions/ModelNameAttribute.cs
T
xiaju 6619f1e004 1、系统菜单调整;
2、系统看板UI调整;
3、事故事件功能
4、其他
2025-12-10 15:58:02 +08:00

18 lines
557 B
C#

using System;
namespace WebAPI.Areas.HelpPage.ModelDescriptions
{
/// <summary>
/// Use this attribute to change the name of the <see cref="ModelDescription"/> generated for a type.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)]
public sealed class ModelNameAttribute : Attribute
{
public ModelNameAttribute(string name)
{
Name = name;
}
public string Name { get; private set; }
}
}