KaraokePC/Herse.Models/SongList.cs
Matt Bruce c9cb751bb5 added found songs and updated search algo
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
2017-04-14 13:50:44 -05:00

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>();
}
}