Skip to content

Commit

Permalink
Merge pull request #183 from swm-nodriversomabus/BUS-209-MVP1-bugfix
Browse files Browse the repository at this point in the history
fix(BE): 사용자 상태메시지 빈칸 허용 BUS-209-MVP1-bugfix
  • Loading branch information
Lemonade255 authored Nov 8, 2023
2 parents 7632545 + bd1cb5c commit 119d9a7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/example/api/user/dto/FindUserDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public class FindUserDto {
private UserGenderEnum gender;

@NotNull
@Min(0)
private Integer age;

@NotBlank
Expand All @@ -36,7 +35,6 @@ public class FindUserDto {
private String stateMessage;

@NotNull
@Min(0)
private Integer mannerScore;

@NotNull
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/example/api/user/dto/FindUserInfoDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public class FindUserInfoDto {
private UserGenderEnum gender;

@NotNull
@Min(0)
private Integer age;

@NotBlank
Expand All @@ -42,7 +41,6 @@ public class FindUserInfoDto {
private String stateMessage;

@NotNull
@Min(0)
private Integer mannerScore;

@NotNull
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/example/api/user/dto/UpdateUserDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class UpdateUserDto {
@NotNull
private Boolean blacklist;

@NotEmpty
@NotNull
private String stateMessage;

@NotNull
Expand Down

0 comments on commit 119d9a7

Please sign in to comment.