TASK:代码提交;

This commit is contained in:
shahaibo
2023-10-10 14:19:10 +08:00
parent 1f463aeaaa
commit 4a803d90f2
17 changed files with 405 additions and 143 deletions

View File

@@ -36,6 +36,8 @@ public class DesignCollectionDTO {
private String modelType;
private String modelSex;
@ApiModelProperty("templateId")
private Long templateId;

View File

@@ -17,6 +17,8 @@ public class QueryLibraryPageServiceDTO extends PageQueryBaseVo {
@ApiModelProperty("二级类型")
private String level2Type;
private String modelSex;
@ApiModelProperty("类型 Top , Bottom ,Print ")
private String type;

View File

@@ -41,6 +41,8 @@ public class ReDesignCollectionDTO {
@ApiModelProperty("templateId")
private Long templateId;
private String modelType;
@NotBlank(message = "singleOverall cannot be empty!")
@ApiModelProperty("控制生成类型的参数两个选项outfit时候传 single , 另外一个传 overall")
private String singleOverall;

View File

@@ -7,19 +7,18 @@ import com.fasterxml.jackson.annotation.JsonValue;
* @Date: 2023/08/01 17:21
* @Description: 服装性别分类
*/
public enum Position implements IEnumDisplay {
public enum FemalePosition implements IEnumDisplay {
OUTWEAR("Outwear"),
BLOUSE("Blouse"),
DRESS("Dress"),
TROUSERS("Trousers"),
SKIRT("Skirt")
// SINGLE("Single"),
;
private String value;
Position(String value) {
FemalePosition(String value) {
this.value = value;
}

View File

@@ -0,0 +1,28 @@
package com.ai.da.model.enums;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* @Author: SHAHAIBO
* @Date: 2023/08/01 17:21
* @Description: 服装性别分类
*/
public enum MalePosition implements IEnumDisplay {
TOPS("Tops"),
BOTTOMS("Bottoms"),
OUTWEAR("Outwear")
;
private String value;
MalePosition(String value) {
this.value = value;
}
@Override
@JsonValue
public String getValue() {
return this.value;
}
}

View File

@@ -22,6 +22,10 @@ public class WorkspaceVO extends Workspace {
private Long currentId;
private PageBaseResponse<Workspace> page;
private PageBaseResponse<WorkspaceVO> page;
private String femalePresignedUrl;
private String malePresignedUrl;
private String childPresignedUrl;
}