We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57acba8 commit b46c370Copy full SHA for b46c370
src/main/java/com/example/log4u/domain/diary/dto/DiaryRequestDto.java
@@ -8,6 +8,7 @@
8
import com.example.log4u.domain.media.dto.MediaRequestDto;
9
10
import jakarta.validation.constraints.NotBlank;
11
+import jakarta.validation.constraints.NotNull;
12
13
public record DiaryRequestDto(
14
@NotBlank(message = "제목은 필수입니다.")
@@ -17,7 +18,7 @@ public record DiaryRequestDto(
17
18
Double latitude,
19
Double longitude,
20
WeatherInfo weatherInfo,
- @NotBlank(message = "공개 범위는 필수입니다.")
21
+ @NotNull(message = "공개 범위는 필수입니다.")
22
VisibilityType visibility,
23
List<MediaRequestDto> mediaList
24
) {
0 commit comments