You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package com.iformall.dto;
-
- import com.iformall.sm.AiVideoParam;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
-
- @ApiModel(value = "生成视频请求参数")
- @Data
- public class GenerateVideoDTO {
- @ApiModelProperty(value = "视频唯一标识")
- private Long id;
- @ApiModelProperty(value = "生成视频参数")
- private AiVideoParam aiVideoParam;
-
-
- public static GenerateVideoDTO build(AiVideoParam aiVideoParam, Long id) {
- GenerateVideoDTO dto = new GenerateVideoDTO();
- dto.setId(id);
- dto.setAiVideoParam(aiVideoParam);
- return dto;
- }
- }
|