2025-08-15 16:34:31 +08:00

23 lines
602 B
C#

using System;
namespace SWS.CAD.Models
{
[AttributeUsage(AttributeTargets.All | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method,
AllowMultiple = true, Inherited = true)]
public class GroupAttribute : Attribute
{
/// <summary>
/// 分组名称
/// </summary>
public string GroupName;
/// <summary>
/// 初始化
/// </summary>
/// <param name="groupName">分组名称</param>
public GroupAttribute(string groupName)
{
GroupName=groupName;
}
}
}