提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.controller.admin.codegen.vo.table; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import java.time.LocalDateTime; |
|
7 |
|
|
8 |
@Schema(description = "管理后台 - 代码生成表定义 Response VO") |
|
9 |
@Data |
|
10 |
public class CodegenTableRespVO { |
|
11 |
|
|
12 |
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
13 |
private Long id; |
|
14 |
|
|
15 |
@Schema(description = "生成场景,参见 CodegenSceneEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
16 |
private Integer scene; |
|
17 |
|
|
18 |
@Schema(description = "表名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "iailab") |
|
19 |
private String tableName; |
|
20 |
|
|
21 |
@Schema(description = "表描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "平台") |
|
22 |
private String tableComment; |
|
23 |
|
|
24 |
@Schema(description = "备注", example = "我是备注") |
|
25 |
private String remark; |
|
26 |
|
|
27 |
@Schema(description = "模块名", requiredMode = Schema.RequiredMode.REQUIRED, example = "system") |
|
28 |
private String moduleName; |
|
29 |
|
|
30 |
@Schema(description = "业务名", requiredMode = Schema.RequiredMode.REQUIRED, example = "codegen") |
|
31 |
private String businessName; |
|
32 |
|
|
33 |
@Schema(description = "类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "CodegenTable") |
|
34 |
private String className; |
|
35 |
|
|
36 |
@Schema(description = "类描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "代码生成器的表定义") |
|
37 |
private String classComment; |
|
38 |
|
|
39 |
@Schema(description = "作者", requiredMode = Schema.RequiredMode.REQUIRED, example = "iailab") |
|
40 |
private String author; |
|
41 |
|
|
42 |
@Schema(description = "模板类型,参见 CodegenTemplateTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
43 |
private Integer templateType; |
|
44 |
|
|
45 |
@Schema(description = "前端类型,参见 CodegenFrontTypeEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "20") |
|
46 |
private Integer frontType; |
|
47 |
|
|
48 |
@Schema(description = "父菜单编号", example = "1024") |
|
49 |
private Long parentMenuId; |
|
50 |
|
|
51 |
@Schema(description = "主表的编号", example = "2048") |
|
52 |
private Long masterTableId; |
|
53 |
@Schema(description = "子表关联主表的字段编号", example = "4096") |
|
54 |
private Long subJoinColumnId; |
|
55 |
@Schema(description = "主表与子表是否一对多", example = "4096") |
|
56 |
private Boolean subJoinMany; |
|
57 |
|
|
58 |
@Schema(description = "树表的父字段编号", example = "8192") |
|
59 |
private Long treeParentColumnId; |
|
60 |
@Schema(description = "树表的名字字段编号", example = "16384") |
|
61 |
private Long treeNameColumnId; |
|
62 |
|
|
63 |
@Schema(description = "主键编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
64 |
private Integer dataSourceConfigId; |
|
65 |
|
|
66 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
67 |
private LocalDateTime createTime; |
|
68 |
|
|
69 |
@Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
70 |
private LocalDateTime updateTime; |
|
71 |
|
|
72 |
} |