Model and migration changes

This commit is contained in:
kdeng00
2024-06-20 17:12:10 -04:00
parent 5c913869b4
commit f3eccfd46e
32 changed files with 111 additions and 123 deletions
+6 -6
View File
@@ -7,8 +7,8 @@ namespace Icarus.Models;
public class Song
{
#region Properties
[JsonProperty("song_id")]
public int SongID { get; set; }
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("album")]
@@ -37,17 +37,17 @@ public class Song
[JsonProperty("disc_count")]
public int DiscCount { get; set; } = 0;
[JsonIgnore]
public int? AlbumID { get; set; }
public int? AlbumId { get; set; }
[JsonIgnore]
public int? ArtistID { get; set; }
public int? ArtistId { get; set; }
[JsonIgnore]
public int? GenreID { get; set; }
public int? GenreId { get; set; }
[JsonIgnore]
public int? CoverArtId { get; set; }
[JsonProperty("date_created")]
public DateTime DateCreated { get; set; }
[JsonProperty("user_id")]
public int UserID { get; set; }
public int UserId { get; set; }
#endregion