Change id types (#114)

* Change id types

* Updated more models

* Saving changes

* Should be it
This commit was merged in pull request #114.
This commit is contained in:
KD
2025-04-03 21:13:05 -04:00
committed by GitHub
parent 12c4f56a22
commit 8abb196e1d
29 changed files with 147 additions and 37 deletions
+4 -1
View File
@@ -1,3 +1,5 @@
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace Icarus.Models;
@@ -6,7 +8,8 @@ public class CoverArt
{
#region Properties
[JsonProperty("id")]
public int Id { get; set; }
[Key]
public Guid Id { get; set; }
[JsonProperty("title")]
public string? SongTitle { get; set; }
[JsonIgnore]