TASK:模特相关接口;
This commit is contained in:
@@ -34,6 +34,8 @@ public class DesignCollectionDTO {
|
||||
@ApiModelProperty("系统取图比列")
|
||||
private BigDecimal systemScale;
|
||||
|
||||
private String modelType;
|
||||
|
||||
@ApiModelProperty("templateId")
|
||||
private Long templateId;
|
||||
|
||||
|
||||
@@ -25,7 +25,9 @@ public class LibraryModelPointDTO implements Serializable {
|
||||
|
||||
@NotNull(message = "libraryId cannot be empty!")
|
||||
@ApiModelProperty("libraryId")
|
||||
private Long libraryId;
|
||||
private Long relationId;
|
||||
|
||||
private String modelType;
|
||||
|
||||
@ApiModelProperty("templateId")
|
||||
private Long templateId;
|
||||
|
||||
@@ -36,4 +36,8 @@ public class LibraryUploadDTO {
|
||||
*/
|
||||
private Integer width;
|
||||
|
||||
private String modelType;
|
||||
|
||||
private String modelSex;
|
||||
|
||||
}
|
||||
|
||||
28
src/main/java/com/ai/da/model/enums/ModelType.java
Normal file
28
src/main/java/com/ai/da/model/enums/ModelType.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 ModelType implements IEnumDisplay {
|
||||
|
||||
SYSTEM("System"),
|
||||
|
||||
LIBRARY("Library")
|
||||
;
|
||||
|
||||
private String value;
|
||||
|
||||
ModelType(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
@JsonValue
|
||||
public String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
@@ -24,6 +24,8 @@ public class LibraryUpdateVo implements Serializable {
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
private String modelType;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
private Long accountId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user