-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat : 모자이크 동영상 처리 후 client에 영상 파일 알려주는 코드로 변경
- Loading branch information
Showing
5 changed files
with
87 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 13 additions & 3 deletions
16
src/main/java/com/capic/server/domain/video/dto/VideoRes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
package com.capic.server.domain.video.dto; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import jakarta.validation.constraints.Null; | ||
|
||
import java.util.List; | ||
|
||
public record VideoRes( | ||
String folderName | ||
String folderName, | ||
String videoName, | ||
@Null | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
List<String> imageNames | ||
) { | ||
public static VideoRes of(String folderName){ | ||
return new VideoRes(folderName); | ||
public static VideoRes of(String folderName,String videoName, | ||
List<String> imageNames){ | ||
return new VideoRes(folderName,videoName,imageNames); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters