军标库
This commit is contained in:
@ -9,16 +9,12 @@ import java.time.LocalDateTime;
|
||||
public class BusinessConfig {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "键")
|
||||
private String key;
|
||||
|
||||
@Schema(description = "值")
|
||||
private String value;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
|
||||
@ -8,31 +8,22 @@ import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class FileInfo {
|
||||
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "文件名")
|
||||
private String fileName;
|
||||
|
||||
@Schema(description = "文件后缀")
|
||||
private String fileSuffix;
|
||||
|
||||
@Schema(description = "内容类型")
|
||||
private String contentType;
|
||||
|
||||
@Schema(description = "文件大小")
|
||||
private Long fileSize;
|
||||
|
||||
@Schema(description = "文件路径")
|
||||
private String filePath;
|
||||
|
||||
@Schema(description = "文件MD5")
|
||||
private String fileMd5;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
|
||||
@ -6,13 +6,15 @@ import lombok.Data;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class ModelType {
|
||||
public class MilitaryLibrary {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "模型类型名称")
|
||||
@Schema(description = "军标库路径")
|
||||
private String path;
|
||||
@Schema(description = "军标库名称")
|
||||
private String name;
|
||||
@Schema(description = "父级节点ID")
|
||||
private String parentId;
|
||||
@Schema(description = "是否启用")
|
||||
private Integer isEnable;
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
@Schema(description = "更新时间")
|
||||
@ -1,33 +0,0 @@
|
||||
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;
|
||||
}
|
||||
@ -7,22 +7,16 @@ import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class Role {
|
||||
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "角色名称")
|
||||
private String roleName;
|
||||
|
||||
@Schema(description = "角色描述")
|
||||
private String description;
|
||||
|
||||
@Schema(description = "是否超级管理员")
|
||||
private Integer isSuper;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
|
||||
@ -7,19 +7,14 @@ import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class RoleSource {
|
||||
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "角色ID")
|
||||
private String roleId;
|
||||
|
||||
@Schema(description = "资源ID")
|
||||
private String sourceId;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
|
||||
@ -7,37 +7,26 @@ import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class Source {
|
||||
|
||||
@Schema (description = "主键")
|
||||
private String id;
|
||||
|
||||
@Schema (description = "资源名称")
|
||||
private String sourceName;
|
||||
|
||||
@Schema (description = "资源类型")
|
||||
private String sourceType;
|
||||
|
||||
@Schema (description = "资源路径")
|
||||
private String sourcePath;
|
||||
|
||||
@Schema (description = "父级ID")
|
||||
private String parentId;
|
||||
|
||||
@Schema (description = "树状索引")
|
||||
private Integer treeIndex;
|
||||
|
||||
@Schema (description = "是否显示")
|
||||
private Integer isShow;
|
||||
|
||||
@Schema (description = "其他内容")
|
||||
private String detail;
|
||||
|
||||
@Schema (description = "前端参数")
|
||||
private String params;
|
||||
|
||||
@Schema (description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
@Schema (description = "更新时间")
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
package com.yj.earth.design;
|
||||
|
||||
import com.yj.earth.annotation.ExcludeField;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@ -8,31 +7,22 @@ import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class User{
|
||||
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "用户名")
|
||||
private String username;
|
||||
|
||||
@Schema(description = "密码")
|
||||
private String password;
|
||||
|
||||
@Schema(description = "头像")
|
||||
private String avatar;
|
||||
|
||||
@Schema(description = "昵称")
|
||||
private String nickname;
|
||||
|
||||
@Schema(description = "手机号")
|
||||
private String phone;
|
||||
|
||||
@Schema(description = "所属角色")
|
||||
private String roleId;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updatedAt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user