Remove JSON attributes from models
This commit is contained in:
@@ -8,16 +8,16 @@ namespace PluralKit.Core {
|
||||
public class PKSystem
|
||||
{
|
||||
// Additions here should be mirrored in SystemStore::Save
|
||||
[Key] [JsonIgnore] public int Id { get; set; }
|
||||
[JsonProperty("id")] public string Hid { get; set; }
|
||||
[JsonProperty("name")] public string Name { get; set; }
|
||||
[JsonProperty("description")] public string Description { get; set; }
|
||||
[JsonProperty("tag")] public string Tag { get; set; }
|
||||
[JsonProperty("avatar_url")] public string AvatarUrl { get; set; }
|
||||
[JsonIgnore] public string Token { get; set; }
|
||||
[JsonProperty("created")] public Instant Created { get; set; }
|
||||
[JsonProperty("tz")] public string UiTz { get; set; }
|
||||
[JsonProperty("ping")] public bool PingsEnabled { get; set; }
|
||||
[Key] public int Id { get; set; }
|
||||
public string Hid { get; set; }
|
||||
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 string UiTz { get; set; }
|
||||
public bool PingsEnabled { get; set; }
|
||||
public PrivacyLevel DescriptionPrivacy { get; set; }
|
||||
public PrivacyLevel MemberListPrivacy { get; set; }
|
||||
public PrivacyLevel FrontPrivacy { get; set; }
|
||||
|
Reference in New Issue
Block a user