Move all appropriate DTOs to sealed records.

This commit is contained in:
Joseph Milazzo 2025-05-04 08:41:29 -05:00
parent bc41b0256e
commit 3ca72b0b20
199 changed files with 234 additions and 221 deletions

View file

@ -5,7 +5,7 @@ using API.Services.Plus;
namespace API.DTOs.KavitaPlus.Metadata;
public class ALMediaTitle
public sealed record ALMediaTitle
{
public string? EnglishTitle { get; set; }
public string RomajiTitle { get; set; }
@ -13,7 +13,7 @@ public class ALMediaTitle
public string PreferredTitle { get; set; }
}
public class SeriesRelationship
public sealed record SeriesRelationship
{
public int AniListId { get; set; }
public int? MalId { get; set; }