20 lines
429 B
C#
Raw Permalink Normal View History

2025-04-28 09:53:45 +08:00
using System;
2025-04-29 09:14:58 +08:00
namespace JiShe.CollectBus.Analyzers.Shared
2025-04-28 09:53:45 +08:00
{
/// <summary>
/// 标记需要生成源码的类
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
2025-04-29 10:02:10 +08:00
public class SourceAnalyzersAttribute : Attribute
2025-04-28 09:53:45 +08:00
{
public EntityTypeEnum EntityType { get; }
public SourceAnalyzersAttribute(EntityTypeEnum entityType)
{
EntityType = entityType;
}
2025-04-28 09:53:45 +08:00
}
}