mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-07-03 13:50:41 +00:00
19 lines
508 B
C#
19 lines
508 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace ZonyLrcTools.Common.Lyrics.Providers.KuWo.JsonModel;
|
|
|
|
public class SongSearchRequest
|
|
{
|
|
[JsonProperty("key")] public string Keyword { get; set; }
|
|
|
|
[JsonProperty("pn")] public int PageNumber { get; }
|
|
|
|
[JsonProperty("rn")] public int PageSize { get; }
|
|
|
|
public SongSearchRequest(string name, string artist, int pageNumber = 1, int pageSize = 20)
|
|
{
|
|
Keyword = $"{name} {artist}";
|
|
PageNumber = pageNumber;
|
|
PageSize = pageSize;
|
|
}
|
|
} |