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