Files
icarus/Models/CoverArt.cs
T
2019-08-04 14:04:40 +00:00

25 lines
580 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Newtonsoft.Json;
namespace Icarus.Models
{
public class CoverArt
{
[JsonProperty("id")]
public int CoverArtId { get; set; }
[JsonProperty("title")]
public string SongTitle { get; set; }
[JsonIgnore]
public string ImagePath { get; set; }
[NotMapped]
[JsonProperty("song_id")]
public int SongId { get; set; }
[JsonIgnore]
public List<Song> Songs { get; set; }
}
}