提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.controller.admin.codegen.vo; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import javax.validation.constraints.NotNull; |
|
7 |
import java.util.List; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - 基于数据库的表结构,创建代码生成器的表和字段定义 Request VO") |
|
10 |
@Data |
|
11 |
public class CodegenCreateListReqVO { |
|
12 |
|
|
13 |
@Schema(description = "数据源配置的编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
|
14 |
@NotNull(message = "数据源配置的编号不能为空") |
|
15 |
private Long dataSourceConfigId; |
|
16 |
|
|
17 |
@Schema(description = "表名数组", requiredMode = Schema.RequiredMode.REQUIRED, example = "[1, 2, 3]") |
|
18 |
@NotNull(message = "表名数组不能为空") |
|
19 |
private List<String> tableNames; |
|
20 |
|
|
21 |
} |