From b5501e323fd620ef40c2f70035c9e1e328f9e69f Mon Sep 17 00:00:00 2001 From: amazing-username Date: Sat, 6 Jul 2019 22:26:55 -0400 Subject: [PATCH] Added a cover art model. Better to do it now and not wait til later --- Models/CoverArt.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Models/CoverArt.cs diff --git a/Models/CoverArt.cs b/Models/CoverArt.cs new file mode 100644 index 0000000..25a3fef --- /dev/null +++ b/Models/CoverArt.cs @@ -0,0 +1,17 @@ +using System; +using System.Text; + +using Newtonsoft.Json; + +namespace Icarus.Models +{ + public class CoverArt + { + [JsonProperty("id")] + public int Id { get; set; } + [JsonProperty("title")] + public string SongTitle { get; set; } + [JsonIgnore] + public string ImagePath { get; set; } + } +}