Merge remote-tracking branch 'origin/dev_shb' into dev-xp
# Conflicts: # src/main/java/com/ai/da/python/PythonService.java # src/main/java/com/ai/da/service/impl/DesignServiceImpl.java
This commit is contained in:
20
src/main/java/com/ai/da/model/dto/WorkspaceDTO.java
Normal file
20
src/main/java/com/ai/da/model/dto/WorkspaceDTO.java
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import com.ai.da.mapper.entity.Workspace;
|
||||
import com.ai.da.model.vo.PageQueryBaseVo;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 数据传输对象实体类
|
||||
*
|
||||
* @author Arcana
|
||||
* @since 2023-08-01
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class WorkspaceDTO extends PageQueryBaseVo {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
41
src/main/java/com/ai/da/model/enums/BizJson.java
Normal file
41
src/main/java/com/ai/da/model/enums/BizJson.java
Normal file
@@ -0,0 +1,41 @@
|
||||
package com.ai.da.model.enums;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class BizJson implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public BizJson() {}
|
||||
|
||||
public BizJson(String name, String key, String value) {
|
||||
this.name = name;
|
||||
this.key = key;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public BizJson(String key, String value) {
|
||||
this.key = key;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* 参数名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 参数主键
|
||||
*/
|
||||
private String key;
|
||||
|
||||
/**
|
||||
* 参数默认值
|
||||
*/
|
||||
private String value;
|
||||
}
|
||||
10
src/main/java/com/ai/da/model/enums/IEnumDisplay.java
Normal file
10
src/main/java/com/ai/da/model/enums/IEnumDisplay.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package com.ai.da.model.enums;
|
||||
|
||||
public interface IEnumDisplay {
|
||||
|
||||
|
||||
String getValue();
|
||||
|
||||
String name();
|
||||
|
||||
}
|
||||
28
src/main/java/com/ai/da/model/enums/Mannequin.java
Normal file
28
src/main/java/com/ai/da/model/enums/Mannequin.java
Normal 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 Mannequin implements IEnumDisplay {
|
||||
|
||||
A("A"),
|
||||
B("B"),
|
||||
C("C")
|
||||
;
|
||||
|
||||
private String value;
|
||||
|
||||
Mannequin(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
@JsonValue
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
27
src/main/java/com/ai/da/model/enums/Position.java
Normal file
27
src/main/java/com/ai/da/model/enums/Position.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package com.ai.da.model.enums;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
|
||||
/**
|
||||
* @Author: SHAHAIBO
|
||||
* @Date: 2023/08/01 17:21
|
||||
* @Description: 服装性别分类
|
||||
*/
|
||||
public enum Position implements IEnumDisplay {
|
||||
|
||||
OVERALL("整体"),
|
||||
SINGLE("部位")
|
||||
;
|
||||
|
||||
private String value;
|
||||
|
||||
Position(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
@JsonValue
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
28
src/main/java/com/ai/da/model/enums/Sex.java
Normal file
28
src/main/java/com/ai/da/model/enums/Sex.java
Normal 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 Sex implements IEnumDisplay {
|
||||
|
||||
MALE("男装"),
|
||||
FEMALE("女装"),
|
||||
CHILD("童装")
|
||||
;
|
||||
|
||||
private String value;
|
||||
|
||||
Sex(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
@JsonValue
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
|
||||
package com.ai.da.model.vo;
|
||||
|
||||
import com.ai.da.mapper.entity.TDesignPythonOutfitDetail;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
|
||||
/**
|
||||
* design item详情表视图实体类
|
||||
*
|
||||
* @author Arcana
|
||||
* @since 2023-09-04
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "TDesignPythonOutfitDetailVO对象", description = "design item详情表")
|
||||
public class TDesignPythonOutfitDetailVO extends TDesignPythonOutfitDetail {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
22
src/main/java/com/ai/da/model/vo/TDesignPythonOutfitVO.java
Normal file
22
src/main/java/com/ai/da/model/vo/TDesignPythonOutfitVO.java
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
package com.ai.da.model.vo;
|
||||
|
||||
|
||||
import com.ai.da.mapper.entity.TDesignPythonOutfit;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
|
||||
/**
|
||||
* design item表 存对应design的8张图片视图实体类
|
||||
*
|
||||
* @author Arcana
|
||||
* @since 2023-09-04
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "TDesignPythonOutfitVO对象", description = "design item表 存对应design的8张图片")
|
||||
public class TDesignPythonOutfitVO extends TDesignPythonOutfit {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
21
src/main/java/com/ai/da/model/vo/WorkspaceVO.java
Normal file
21
src/main/java/com/ai/da/model/vo/WorkspaceVO.java
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
package com.ai.da.model.vo;
|
||||
|
||||
import com.ai.da.mapper.entity.Workspace;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
|
||||
/**
|
||||
* 视图实体类
|
||||
*
|
||||
* @author Arcana
|
||||
* @since 2023-08-01
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "WorkspaceVO对象", description = "WorkspaceVO对象")
|
||||
public class WorkspaceVO extends Workspace {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user