模型库、矢量文件
This commit is contained in:
14
src/main/java/com/yj/earth/vo/ModelDataVo.java
Normal file
14
src/main/java/com/yj/earth/vo/ModelDataVo.java
Normal file
@ -0,0 +1,14 @@
|
||||
package com.yj.earth.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ModelDataVo {
|
||||
@Schema(description = "模型名称")
|
||||
private String modelName;
|
||||
@Schema(description = "模型数据")
|
||||
private byte[] modelData;
|
||||
@Schema(description = "海报数据")
|
||||
private byte[] posterData;
|
||||
}
|
||||
@ -1,9 +1,31 @@
|
||||
package com.yj.earth.vo;
|
||||
|
||||
import com.yj.earth.business.domain.Model;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class ModelVo extends Model {
|
||||
public class ModelVo {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "模型类型ID")
|
||||
private String modelTypeId;
|
||||
@Schema(description = "模型名称")
|
||||
private String modelName;
|
||||
@Schema(description = "模型类型")
|
||||
private String modelType;
|
||||
@Schema(description = "模型数据URL")
|
||||
private String modelDataUrl;
|
||||
@Schema(description = "海报类型")
|
||||
private String posterType;
|
||||
@Schema(description = "海报URL")
|
||||
private String posterDataUrl;
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updatedAt;
|
||||
@Schema(description = "模型类型名称")
|
||||
private String modelTypeName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user