mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Migrate to type-safe model ID structs
This commit is contained in:
parent
e5ac5edc35
commit
b9cbd241de
21 changed files with 167 additions and 41 deletions
|
|
@ -8,9 +8,9 @@ using NodaTime.Text;
|
|||
namespace PluralKit.Core {
|
||||
public class PKMember
|
||||
{
|
||||
public int Id { get; }
|
||||
public MemberId Id { get; }
|
||||
public string Hid { get; set; }
|
||||
public int System { get; set; }
|
||||
public SystemId System { get; set; }
|
||||
public string Color { get; set; }
|
||||
public string AvatarUrl { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue