mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-23 19:42:51 +01:00
15 lines
534 B
C#
15 lines
534 B
C#
using MemoryPack;
|
|
|
|
namespace Phantom.Common.Data.Web.AuditLog;
|
|
|
|
[MemoryPackable(GenerateType.VersionTolerant)]
|
|
public sealed partial record AuditLogItem(
|
|
[property: MemoryPackOrder(0)] DateTime UtcTime,
|
|
[property: MemoryPackOrder(1)] Guid? UserGuid,
|
|
[property: MemoryPackOrder(2)] string? UserName,
|
|
[property: MemoryPackOrder(3)] AuditLogEventType EventType,
|
|
[property: MemoryPackOrder(4)] AuditLogSubjectType SubjectType,
|
|
[property: MemoryPackOrder(5)] string? SubjectId,
|
|
[property: MemoryPackOrder(6)] string? JsonData
|
|
);
|