资源相关
This commit is contained in:
33
src/main/java/com/yj/earth/design/Model.java
Normal file
33
src/main/java/com/yj/earth/design/Model.java
Normal file
@ -0,0 +1,33 @@
|
||||
package com.yj.earth.design;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class Model {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "模型类型ID")
|
||||
private String modelTypeId;
|
||||
@Schema(description = "模型名称")
|
||||
private String modelName;
|
||||
@Schema(description = "模型类型")
|
||||
private String modelType;
|
||||
@Schema(description = "海报类型")
|
||||
private String posterType;
|
||||
@Schema(description = "海报数据")
|
||||
private byte[] poster;
|
||||
@Schema(description = "模型数据")
|
||||
private byte[] data;
|
||||
@Schema(description = "模型视图")
|
||||
private String view;
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
Reference in New Issue
Block a user