TASK:模特相关接口;

This commit is contained in:
shahaibo
2023-10-04 06:47:48 +08:00
parent 612fb61ac1
commit ee32111599
15 changed files with 127 additions and 43 deletions

View File

@@ -34,6 +34,8 @@ public class DesignCollectionDTO {
@ApiModelProperty("系统取图比列")
private BigDecimal systemScale;
private String modelType;
@ApiModelProperty("templateId")
private Long templateId;

View File

@@ -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;

View File

@@ -36,4 +36,8 @@ public class LibraryUploadDTO {
*/
private Integer width;
private String modelType;
private String modelSex;
}

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 ModelType implements IEnumDisplay {
SYSTEM("System"),
LIBRARY("Library")
;
private String value;
ModelType(String value) {
this.value = value;
}
@Override
@JsonValue
public String getValue() {
return this.value;
}
}

View File

@@ -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;