fixed bug

Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
mbrucedogs 2025-07-22 07:56:22 -05:00
parent c2ae664d80
commit d087d2d393

View File

@ -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; }
}
}