Move all appropriate DTOs to sealed records.
This commit is contained in:
parent
bc41b0256e
commit
3ca72b0b20
199 changed files with 234 additions and 221 deletions
|
|
@ -5,7 +5,7 @@ using API.DTOs.Account;
|
|||
namespace API.DTOs;
|
||||
#nullable enable
|
||||
|
||||
public class UserDto
|
||||
public sealed record UserDto
|
||||
{
|
||||
public string Username { get; init; } = null!;
|
||||
public string Email { get; init; } = null!;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue