Skip to content

Commit

Permalink
Merge pull request #89 from onetime-with-members/fix/#88/not-blank
Browse files Browse the repository at this point in the history
[fix] : Enum은 @NotNull로 변경하여 문제를 해결한다
  • Loading branch information
bbbang105 authored Oct 21, 2024
2 parents a83aa5d + 468411d commit a5cf825
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 a5cf825

Please sign in to comment.