mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-01 08:52:11 +08:00
support sqlserver metadata update
This commit is contained in:
@ -0,0 +1,60 @@
|
||||
package ai.chat2db.server.domain.api.param;
|
||||
|
||||
import ai.chat2db.spi.model.Header;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class UpdateSelectResultParam {
|
||||
/**
|
||||
* 控制台id
|
||||
*/
|
||||
@NotNull
|
||||
private Long consoleId;
|
||||
|
||||
/**
|
||||
* 数据源id
|
||||
*/
|
||||
@NotNull
|
||||
private Long dataSourceId;
|
||||
|
||||
/**
|
||||
* DB名称
|
||||
*/
|
||||
private String databaseName;
|
||||
|
||||
|
||||
/**
|
||||
* schema名称
|
||||
*/
|
||||
private String schemaName;
|
||||
|
||||
|
||||
/**
|
||||
* 展示头的列表
|
||||
*/
|
||||
@NotEmpty
|
||||
private List<Header> headerList;
|
||||
|
||||
|
||||
/**
|
||||
* 修改后数据的列表
|
||||
*/
|
||||
@NotEmpty
|
||||
private List<List<String>> dataList;
|
||||
|
||||
/**
|
||||
* 数据的列表
|
||||
*/
|
||||
@NotEmpty
|
||||
private List<List<String>> oldDataList;
|
||||
|
||||
/**
|
||||
* 表名
|
||||
*/
|
||||
@NotEmpty
|
||||
private String tableName;
|
||||
}
|
Reference in New Issue
Block a user