mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 06:17:55 +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
|
|
@ -3,8 +3,8 @@
|
|||
namespace PluralKit.Core {
|
||||
public class PKSwitch
|
||||
{
|
||||
public int Id { get; }
|
||||
public int System { get; set; }
|
||||
public SwitchId Id { get; }
|
||||
public SystemId System { get; set; }
|
||||
public Instant Timestamp { get; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue