23c50de468
* .NET 8 migration * Fixed bugs with song management * More cleanup and making some constants * Updated yml * Clean up Removing comments, some cleanup, and moving the startup code into Program.cs * Removing comments * Fixed song deletion issue * Added functionality to delete song directories * Updated README
18 lines
377 B
C#
18 lines
377 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Icarus.Models;
|
|
|
|
public class Genre
|
|
{
|
|
[JsonProperty("genre_id")]
|
|
public int GenreID { get; set; }
|
|
[JsonProperty("genre")]
|
|
[Column("Category")]
|
|
public string GenreName { get; set; }
|
|
[JsonProperty("song_count")]
|
|
[NotMapped]
|
|
public int SongCount { get; set; }
|
|
}
|