From 757890fa58fa22ea3a497eb2351f4d993a1a7e99 Mon Sep 17 00:00:00 2001 From: RyuKwanKon Date: Sat, 6 Jan 2024 17:53:16 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20#25=20enum=20class=20not=20null=20check?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/post/dto/request/PostCreateRequestDto.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gachon/checkmate/domain/post/dto/request/PostCreateRequestDto.java b/src/main/java/org/gachon/checkmate/domain/post/dto/request/PostCreateRequestDto.java index d524621..8f0d5e3 100644 --- a/src/main/java/org/gachon/checkmate/domain/post/dto/request/PostCreateRequestDto.java +++ b/src/main/java/org/gachon/checkmate/domain/post/dto/request/PostCreateRequestDto.java @@ -14,10 +14,10 @@ public record PostCreateRequestDto( @NotBlank(message = "제목을 입력해주세요") String title, @NotBlank(message = "내용을 입력해주세요") String content, - @NotBlank(message = "중요 키워드를 입력해주세요") ImportantKeyType importantKey, - @NotBlank(message = "유사도를 입력해주세요") SimilarityKeyType similarityKey, - @NotBlank(message = "기숙사 유형을 입력해주세요") RoomType roomType, - @NotBlank(message = "모집 마감기간을 입력해주세요") LocalDate endDate, + @NotNull(message = "중요 키워드를 입력해주세요") ImportantKeyType importantKey, + @NotNull(message = "유사도를 입력해주세요") SimilarityKeyType similarityKey, + @NotNull(message = "기숙사 유형을 입력해주세요") RoomType roomType, + @NotNull(message = "모집 마감기간을 입력해주세요") LocalDate endDate, @NotNull(message = "체크리스트를 입력해주세요") CheckListRequestDto checkList ) { }