Skip to content

Commit

Permalink
fix: page can null
Browse files Browse the repository at this point in the history
  • Loading branch information
Relaxed-Mind committed Dec 11, 2023
1 parent 7f86f4a commit 4b2281b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package capstone.bookdiary.domain.dto;

import jakarta.validation.constraints.Positive;
import jakarta.validation.constraints.Size;
import lombok.Getter;

Expand All @@ -10,6 +9,5 @@ public class ScrapRequestDto {
private String content;
@Size(max = 500, message = "메모는 500자 이내로 입력해주세요.")
private String memo;
@Positive(message = "페이지 값은 0보다 커야합니다")
private Integer page;
}

0 comments on commit 4b2281b

Please sign in to comment.