mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Remove setters where possible
This commit is contained in:
parent
e8b69dfe29
commit
cb8f29cc47
3 changed files with 8 additions and 15 deletions
|
|
@ -8,14 +8,14 @@ namespace PluralKit.Core {
|
|||
public class PKSystem
|
||||
{
|
||||
// Additions here should be mirrored in SystemStore::Save
|
||||
[Key] public int Id { get; set; }
|
||||
public string Hid { get; set; }
|
||||
[Key] public int Id { get; }
|
||||
public string Hid { get; }
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string Tag { get; set; }
|
||||
public string AvatarUrl { get; set; }
|
||||
public string Token { get; set; }
|
||||
public Instant Created { get; set; }
|
||||
public Instant Created { get; }
|
||||
public string UiTz { get; set; }
|
||||
public bool PingsEnabled { get; set; }
|
||||
public PrivacyLevel DescriptionPrivacy { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue