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.Entities.Interfaces;
namespace API.DTOs;
#nullable enable
public class SeriesDto : IHasReadTimeEstimate, IHasCoverImage
public sealed record SeriesDto : IHasReadTimeEstimate, IHasCoverImage
{
public int Id { get; init; }
public string? Name { get; init; }