From 4b2281be915a7e40315e3301c97b08bd24717d54 Mon Sep 17 00:00:00 2001 From: Relaxed-Mind Date: Mon, 11 Dec 2023 23:10:57 +0900 Subject: [PATCH] fix: page can null --- .../java/capstone/bookdiary/domain/dto/ScrapRequestDto.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/capstone/bookdiary/domain/dto/ScrapRequestDto.java b/src/main/java/capstone/bookdiary/domain/dto/ScrapRequestDto.java index 4677f44..1218431 100644 --- a/src/main/java/capstone/bookdiary/domain/dto/ScrapRequestDto.java +++ b/src/main/java/capstone/bookdiary/domain/dto/ScrapRequestDto.java @@ -1,6 +1,5 @@ package capstone.bookdiary.domain.dto; -import jakarta.validation.constraints.Positive; import jakarta.validation.constraints.Size; import lombok.Getter; @@ -10,6 +9,5 @@ public class ScrapRequestDto { private String content; @Size(max = 500, message = "메모는 500자 이내로 입력해주세요.") private String memo; - @Positive(message = "페이지 값은 0보다 커야합니다") private Integer page; }