提交 | 用户 | 时间
|
0b0cb9
|
1 |
package com.iailab.module.infra.controller.admin.db.vo; |
潘 |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
import lombok.EqualsAndHashCode; |
|
6 |
import lombok.ToString; |
|
7 |
|
|
8 |
import javax.validation.constraints.NotNull; |
|
9 |
|
|
10 |
@Schema(description = "管理后台 - 数据源配置更新 Request VO") |
|
11 |
@Data |
|
12 |
@EqualsAndHashCode(callSuper = true) |
|
13 |
@ToString(callSuper = true) |
|
14 |
public class DataSourceConfigUpdateReqVO extends DataSourceConfigBaseVO { |
|
15 |
|
|
16 |
@Schema(description = "主键编号", required = true, example = "1024") |
|
17 |
@NotNull(message = "主键编号不能为空") |
|
18 |
private Long id; |
|
19 |
|
|
20 |
@Schema(description = "密码", required = true, example = "123456") |
|
21 |
@NotNull(message = "密码不能为空") |
|
22 |
private String password; |
|
23 |
|
|
24 |
} |