fixed bug
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
c2ae664d80
commit
d087d2d393
@ -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; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user