Files
icarus/Models/Artist.cs
T
2025-04-03 20:01:18 -04:00

22 lines
454 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace Icarus.Models;
public class Artist
{
#region Properties
[JsonProperty("id")]
[Key]
public Guid Id { get; set; }
[JsonProperty("name")]
[Column("Artist")]
public string? Name { get; set; }
[JsonProperty("song_count")]
[NotMapped]
public int SongCount { get; set; }
#endregion
}