Updated more models

This commit is contained in:
phoenix
2025-04-03 20:01:18 -04:00
parent 725eab7e7f
commit a091f8c9f9
16 changed files with 71 additions and 16 deletions
+3 -1
View File
@@ -1,3 +1,4 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
@@ -8,7 +9,8 @@ public class Album
{
#region Properties
[JsonProperty("id")]
public int Id { get; set; }
[Key]
public Guid Id { get; set; }
[JsonProperty("title")]
public string? Title { get; set; }
[JsonProperty("album_artist")]