From 532c258f1d6782f2ace86294a44858f971853e7e Mon Sep 17 00:00:00 2001 From: marco Date: Sun, 30 Aug 2026 18:12:59 +0200 Subject: [PATCH] Simplified DTO --- api/DTOs/{PersonRequestDto.cs => PersonDto.cs} | 2 +- api/DTOs/PersonResponseDto.cs | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) rename api/DTOs/{PersonRequestDto.cs => PersonDto.cs} (83%) delete mode 100644 api/DTOs/PersonResponseDto.cs diff --git a/api/DTOs/PersonRequestDto.cs b/api/DTOs/PersonDto.cs similarity index 83% rename from api/DTOs/PersonRequestDto.cs rename to api/DTOs/PersonDto.cs index e70c420..08977db 100644 --- a/api/DTOs/PersonRequestDto.cs +++ b/api/DTOs/PersonDto.cs @@ -1,6 +1,6 @@ namespace api.DTOs; -public class PersonRequestDto +public class PersonDto { public string Username { get; set; } public string RealName { get; set; } diff --git a/api/DTOs/PersonResponseDto.cs b/api/DTOs/PersonResponseDto.cs deleted file mode 100644 index 074820c..0000000 --- a/api/DTOs/PersonResponseDto.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace api.DTOs; - -public class PersonResponseDto -{ - public string Username { get; set; } - public string RealName { get; set; } - public DateOnly Birthday { get; set; } -} \ No newline at end of file