support add service name

This commit is contained in:
SwallowGG
2023-11-09 17:29:36 +08:00
parent 1b36648819
commit c29db6aeab
14 changed files with 744 additions and 11 deletions

View File

@ -105,4 +105,16 @@ public class DataSourceCreateRequest {
@NotNull
private Long environmentId;
/**
* 服务名称
*/
private String serviceName;
/**
* 服务类型
*/
private String serviceType;
}

View File

@ -106,4 +106,14 @@ public class DataSourceUpdateRequest {
* 驱动配置
*/
private DriverConfig driverConfig;
/**
* 服务名称
*/
private String serviceName;
/**
* 服务类型
*/
private String serviceType;
}

View File

@ -117,4 +117,15 @@ public class DataSourceVO {
* @see ai.chat2db.server.domain.api.enums.DataSourceKindEnum
*/
private String kind;
/**
* 服务名称
*/
private String serviceName;
/**
* 服务类型
*/
private String serviceType;
}