JacobTech 0cf7404b85 Generation Update
A few changes to start adding more generation methods.
2023-12-22 11:20:45 -05:00

14 lines
380 B
C#

namespace ServerDatabase.SourceGenerator;
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class JsonTableRowAttribute : Attribute
{
public JsonTableRowAttribute(Type type, int index = 0)
{
this.Type = type;
this.Index = index;
}
public int Index { get; private set; } = 0;
public Type Type { get; private set; }
}