Skip to content

Commit

Permalink
[api-server-v1] fix: @lob 어노테이션 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
gdtknight committed Oct 6, 2023
1 parent 1f692a4 commit f12aae3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.UUID;
import javax.persistence.Lob;
import kr.joberchip.core.block.*;
import kr.joberchip.core.page.SharePage;
import kr.joberchip.server.v1._utils.BlockType;
Expand All @@ -13,7 +14,7 @@ public record BlockResponseDTO(
BlockType type,
String title,
String description,
String src,
@Lob String src,
Integer x,
Integer y,
Integer w,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

import javax.persistence.Lob;

public record VideoBlockDTO(
@RequestPart String title,
@RequestPart String description,
@RequestPart String videoLink,
@RequestPart @Lob String videoLink,
@RequestPart MultipartFile attachedVideo,
@RequestPart Integer x,
@RequestPart Integer y,
Expand Down

0 comments on commit f12aae3

Please sign in to comment.