Merge branch 'dev/dev_xp' into dev/dev
This commit is contained in:
@@ -39,8 +39,8 @@ public class GenerateThroughImageTextDTO {
|
||||
private String gender;
|
||||
|
||||
|
||||
@ApiModelProperty("选择的模型名 high || fast")
|
||||
private String version;
|
||||
@ApiModelProperty("选择的模型名 high || fast || wx || fp")
|
||||
private String modelName;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
|
||||
24
src/main/java/com/ai/da/model/dto/PoseTransformDTO.java
Normal file
24
src/main/java/com/ai/da/model/dto/PoseTransformDTO.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
public class PoseTransformDTO {
|
||||
@ApiModelProperty("项目id")
|
||||
private Long projectId;
|
||||
|
||||
@ApiModelProperty("图片的minio地址")
|
||||
@NotBlank(message = "please select a product image")
|
||||
private String productImage;
|
||||
|
||||
@ApiModelProperty("pose的编号")
|
||||
@NotNull(message = "please select a pose")
|
||||
private Integer poseId;
|
||||
|
||||
private String modelName;
|
||||
}
|
||||
@@ -17,6 +17,7 @@ public class GenerateResultVO {
|
||||
|
||||
private String url;
|
||||
|
||||
// Success || Executing || Invalid || Failed
|
||||
private String status;
|
||||
|
||||
private String category;
|
||||
|
||||
@@ -23,6 +23,7 @@ public class PoseTransformationVO implements AllCollectionVO{
|
||||
|
||||
private byte isLiked;
|
||||
|
||||
// Success || Executing || Invalid || Failed
|
||||
private String status;
|
||||
private String collectionType;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user