Files
LuskiServer/LuskiServer/Classes/TableDef/Logs.cs
JacobTech 397d50e062 Library Update
The project now uses the new source generator package for the ServerDatabase package. This now allows code to read a full row at a time while using the type safety from the column definitions.
2023-06-16 14:24:24 -04:00

16 lines
420 B
C#

using LuskiServer.Enums;
using ServerDatabase;
using ServerDatabase.SourceGenerator;
namespace LuskiServer.Classes.TableDef;
public static class Logs
{
public static TableColumn<long> ID { get; } = new("id", true);
public static TableColumn<LogType> Type { get; } = new("type");
public static TableColumn<string> Message { get; } = new("message");
}
[TableRow(typeof(Logs))]
public partial class LogRow
{}