提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.report.controller.admin.goview.vo.data; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import javax.validation.constraints.NotEmpty; |
|
7 |
|
|
8 |
@Schema(description = "管理后台 - GoView 使用 SQL 查询数据 Request VO") |
|
9 |
@Data |
|
10 |
public class GoViewDataGetBySqlReqVO { |
|
11 |
|
|
12 |
@Schema(description = "SQL 语句", requiredMode = Schema.RequiredMode.REQUIRED, example = "SELECT * FROM user") |
|
13 |
@NotEmpty(message = "SQL 语句不能为空") |
|
14 |
private String sql; |
|
15 |
|
|
16 |
} |