Demote non-item MessagePack DTOs

This commit is contained in:
Meta Vens 2026-06-13 14:54:31 +01:00
commit 98d58cac92
8 changed files with 48 additions and 51 deletions

View file

@ -3,25 +3,21 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
using System;
using MessagePack;
[LegacyCatalogGroup("Users"), MessagePackObject]
[LegacyCatalogGroup("Users")]
public class PlayerData : DatabaseEntry, INamedEntry
{
[Key(1)]
public string Email;
[Key(2)]
public string Password;
[Key(3)]
public string Username;
[Key(4)]
public Guid Corporation;
[IgnoreMember] public string EntryName
public string EntryName
{
get => Username;
set => Username = value;
}
}
}