25 lines
580 B
C#
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; }
|
|
}
|
|
}
|