33 lines
749 B
C#
33 lines
749 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Herse.Models
|
|
{
|
|
public class SongList
|
|
{
|
|
[JsonProperty("title")]
|
|
public string Title { get; set; }
|
|
|
|
[JsonProperty("songs")]
|
|
public List<SongListSong> Songs { get; set; }
|
|
}
|
|
public class SongListSong
|
|
{
|
|
[JsonProperty("title")]
|
|
public string Title { get; set; }
|
|
|
|
[JsonProperty("artist")]
|
|
public string Artist { get; set; }
|
|
|
|
[JsonProperty("position")]
|
|
public int Position { get; set; }
|
|
|
|
[JsonProperty("foundSongs")]
|
|
public List<Song> FoundSongs { get; set; } = new List<Song>();
|
|
}
|
|
}
|