Skip to content

Commit

Permalink
#88 [fix] : Enum은 @NotNull로 변경하여 문제를 해결한다
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbang105 committed Oct 21, 2024
1 parent a83aa5d commit 468411d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public record CreateEventRequest(
@NotBlank(message = "제목은 필수 값입니다.") String title,
@NotBlank(message = "시작 시간은 필수 값입니다.") String startTime,
@NotBlank(message = "종료 시간은 필수 값입니다.") String endTime,
@NotBlank(message = "카테고리는 필수 값입니다.") Category category,
@NotNull(message = "카테고리는 필수 값입니다.") Category category,
@NotNull(message = "설문 범위는 필수 값입니다.") List<String> ranges
) {
public Event toEntity() {
Expand Down

0 comments on commit 468411d

Please sign in to comment.