diff --git a/Herse.Models/Song.cs b/Herse.Models/Song.cs index 5514bd3..413180e 100644 --- a/Herse.Models/Song.cs +++ b/Herse.Models/Song.cs @@ -15,23 +15,18 @@ namespace Herse.Models [JsonProperty("artist")] public string Artist { get; set; } - [JsonProperty("genre")] - public string Genre { get; set; } - [JsonProperty("path")] public string Path { get; set; } - [JsonProperty("guid")] - public string Guid { get; set; } +// [JsonProperty("guid")] +// public string Guid { get; set; } [JsonProperty("disabled")] public bool Disabled { get; set; } = false; - [JsonProperty("favorite")] public bool Favorite { get; set; } = false; - [JsonIgnore] public FileType FileType { @@ -53,4 +48,11 @@ namespace Herse.Models } } } + + public class History : Song + { + [JsonProperty("count")] + public int Count { get; set; } + + } }