模型库、矢量文件
This commit is contained in:
@ -22,11 +22,13 @@ public class Model {
|
||||
@Schema(description = "海报类型")
|
||||
private String posterType;
|
||||
@Schema(description = "海报数据")
|
||||
private String poster;
|
||||
private byte[] posterData;
|
||||
@Schema(description = "海报URL")
|
||||
private String posterUrl;
|
||||
@Schema(description = "模型数据")
|
||||
private String data;
|
||||
@Schema(description = "模型视图")
|
||||
private String view;
|
||||
private byte[] modelData;
|
||||
@Schema(description = "模型数据URL")
|
||||
private String modelUrl;
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
@Schema(description = "更新时间")
|
||||
|
||||
43
src/main/java/com/yj/earth/business/domain/WebSource.java
Normal file
43
src/main/java/com/yj/earth/business/domain/WebSource.java
Normal file
@ -0,0 +1,43 @@
|
||||
package com.yj.earth.business.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@Data
|
||||
public class WebSource implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.ASSIGN_UUID)
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "资源名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "资源路径")
|
||||
private String path;
|
||||
|
||||
@Schema(description = "资源类型")
|
||||
private String type;
|
||||
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
@TableField(fill = FieldFill.UPDATE)
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
Reference in New Issue
Block a user