Skip to content

Commit

Permalink
Merge pull request #83 from JS970/feature/bookmark_create
Browse files Browse the repository at this point in the history
북마크 추가 dto 어노테이션 수정
  • Loading branch information
JS970 authored Oct 6, 2023
2 parents abc7353 + 7ae7dc8 commit 0a45e7f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.kakao.linknamu.bookmark.entity.Bookmark;
import com.kakao.linknamu.category.entity.Category;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Builder;
import lombok.Getter;
Expand All @@ -23,6 +24,7 @@ public static class bookmarkAddDTO {

private String bookmarkDescription;

@NotNull
private Long categoryId;

private String imageUrl;
Expand Down

0 comments on commit 0a45e7f

Please sign in to comment.