package com.iailab.module.data.ind.data.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* @author PanZhibao
|
* @Description
|
* @createTime 2024年09月10日
|
*/
|
@Schema(description = "数据平台 - 数据集创建/修改 Request VO")
|
@Data
|
public class IndDataSetSaveReqVO {
|
|
@Schema(description = "ID")
|
private String id;
|
|
@Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
|
@NotNull(message = "名称不能为空")
|
private String name;
|
|
@Schema(description = "数据源", requiredMode = Schema.RequiredMode.REQUIRED)
|
@NotNull(message = "数据源不能为空")
|
private String dataSource;
|
|
@Schema(description = "查询语句", requiredMode = Schema.RequiredMode.REQUIRED)
|
@NotNull(message = "查询语句不能为空")
|
private String querySql;
|
|
@Schema(description = "备注")
|
private String remark;
|
}
|