资源相关
This commit is contained in:
12
src/main/java/com/yj/earth/dto/model/CreateModelFileDto.java
Normal file
12
src/main/java/com/yj/earth/dto/model/CreateModelFileDto.java
Normal file
@ -0,0 +1,12 @@
|
||||
package com.yj.earth.dto.model;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class CreateModelFileDto {
|
||||
@Schema(description = "模型库文件名称")
|
||||
private String modelFileName;
|
||||
@Schema(description = "生成文件夹路径")
|
||||
private String folderPath;
|
||||
}
|
||||
@ -3,9 +3,11 @@ package com.yj.earth.dto.source;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
public class AddModelSourceDto {
|
||||
@Schema (description = "资源ID")
|
||||
@Schema(description = "资源ID")
|
||||
private String id;
|
||||
@Schema(description = "资源路径")
|
||||
private String sourcePath;
|
||||
@ -14,5 +16,5 @@ public class AddModelSourceDto {
|
||||
@Schema(description = "树状索引")
|
||||
private Integer treeIndex;
|
||||
@Schema(description = "前端参数")
|
||||
private String params;
|
||||
private Map<String, Object> params;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user