提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.controller.admin.db.vo; |
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 DataSourceConfigRespVO { |
|
11 |
|
|
12 |
@Schema(description = "主键编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
13 |
private Integer id; |
|
14 |
|
|
15 |
@Schema(description = "数据源名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "test") |
|
16 |
private String name; |
|
17 |
|
|
18 |
@Schema(description = "数据源连接", requiredMode = Schema.RequiredMode.REQUIRED, example = "jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro") |
|
19 |
private String url; |
|
20 |
|
|
21 |
@Schema(description = "用户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "root") |
|
22 |
private String username; |
|
23 |
|
|
24 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
25 |
private LocalDateTime createTime; |
|
26 |
|
|
27 |
} |