From bd1cb5c0e8d65751b75561fe1506217e92c3b45b Mon Sep 17 00:00:00 2001 From: Lemonade255 Date: Wed, 8 Nov 2023 16:49:53 +0900 Subject: [PATCH] =?UTF-8?q?fix(BE):=20=EC=82=AC=EC=9A=A9=EC=9E=90=20?= =?UTF-8?q?=EC=83=81=ED=83=9C=EB=A9=94=EC=8B=9C=EC=A7=80=20=EB=B9=88?= =?UTF-8?q?=EC=B9=B8=20=ED=97=88=EC=9A=A9=20BUS-209-MVP1-bugfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/example/api/user/dto/FindUserDto.java | 2 -- src/main/java/com/example/api/user/dto/FindUserInfoDto.java | 2 -- src/main/java/com/example/api/user/dto/UpdateUserDto.java | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/com/example/api/user/dto/FindUserDto.java b/src/main/java/com/example/api/user/dto/FindUserDto.java index f367476..e76e4e3 100644 --- a/src/main/java/com/example/api/user/dto/FindUserDto.java +++ b/src/main/java/com/example/api/user/dto/FindUserDto.java @@ -20,7 +20,6 @@ public class FindUserDto { private UserGenderEnum gender; @NotNull - @Min(0) private Integer age; @NotBlank @@ -36,7 +35,6 @@ public class FindUserDto { private String stateMessage; @NotNull - @Min(0) private Integer mannerScore; @NotNull diff --git a/src/main/java/com/example/api/user/dto/FindUserInfoDto.java b/src/main/java/com/example/api/user/dto/FindUserInfoDto.java index 0234077..1a59eb3 100644 --- a/src/main/java/com/example/api/user/dto/FindUserInfoDto.java +++ b/src/main/java/com/example/api/user/dto/FindUserInfoDto.java @@ -26,7 +26,6 @@ public class FindUserInfoDto { private UserGenderEnum gender; @NotNull - @Min(0) private Integer age; @NotBlank @@ -42,7 +41,6 @@ public class FindUserInfoDto { private String stateMessage; @NotNull - @Min(0) private Integer mannerScore; @NotNull diff --git a/src/main/java/com/example/api/user/dto/UpdateUserDto.java b/src/main/java/com/example/api/user/dto/UpdateUserDto.java index c97431e..2e011eb 100644 --- a/src/main/java/com/example/api/user/dto/UpdateUserDto.java +++ b/src/main/java/com/example/api/user/dto/UpdateUserDto.java @@ -31,7 +31,7 @@ public class UpdateUserDto { @NotNull private Boolean blacklist; - @NotEmpty + @NotNull private String stateMessage; @NotNull