PoseTransformation-初版
This commit is contained in:
@@ -19,4 +19,13 @@ public class ImageToSketchDTO {
|
||||
|
||||
@ApiModelProperty("性别")
|
||||
private String gender;
|
||||
|
||||
public ImageToSketchDTO() {
|
||||
}
|
||||
|
||||
public ImageToSketchDTO(Long elementId, String style, String gender) {
|
||||
this.elementId = elementId;
|
||||
this.style = style;
|
||||
this.gender = gender;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class SketchReconstructionDTO {
|
||||
private Long projectId;
|
||||
|
||||
private String collagePicture;
|
||||
|
||||
private List<Element> elements;
|
||||
|
||||
private MultipartFile file;
|
||||
|
||||
// like到library时分类用
|
||||
private String gender;
|
||||
|
||||
private boolean Save;
|
||||
|
||||
|
||||
@Data
|
||||
public static class Element{
|
||||
private Long elementId;
|
||||
|
||||
private String elementSource;
|
||||
|
||||
private String path;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user