diff --git a/api/server-v1/src/main/java/kr/joberchip/server/v1/block/controller/dto/BlockResponseDTO.java b/api/server-v1/src/main/java/kr/joberchip/server/v1/block/controller/dto/BlockResponseDTO.java index d632470..8efdf1f 100644 --- a/api/server-v1/src/main/java/kr/joberchip/server/v1/block/controller/dto/BlockResponseDTO.java +++ b/api/server-v1/src/main/java/kr/joberchip/server/v1/block/controller/dto/BlockResponseDTO.java @@ -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; @@ -13,7 +14,7 @@ public record BlockResponseDTO( BlockType type, String title, String description, - String src, + @Lob String src, Integer x, Integer y, Integer w, diff --git a/api/server-v1/src/main/java/kr/joberchip/server/v1/block/controller/dto/VideoBlockDTO.java b/api/server-v1/src/main/java/kr/joberchip/server/v1/block/controller/dto/VideoBlockDTO.java index ffb6821..b89335f 100755 --- a/api/server-v1/src/main/java/kr/joberchip/server/v1/block/controller/dto/VideoBlockDTO.java +++ b/api/server-v1/src/main/java/kr/joberchip/server/v1/block/controller/dto/VideoBlockDTO.java @@ -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,