mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-29 02:32:33 +08:00
support add service name
This commit is contained in:
@ -105,4 +105,16 @@ public class DataSourceCreateRequest {
|
||||
@NotNull
|
||||
private Long environmentId;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 服务名称
|
||||
*/
|
||||
private String serviceName;
|
||||
|
||||
/**
|
||||
* 服务类型
|
||||
*/
|
||||
private String serviceType;
|
||||
|
||||
}
|
||||
|
@ -106,4 +106,14 @@ public class DataSourceUpdateRequest {
|
||||
* 驱动配置
|
||||
*/
|
||||
private DriverConfig driverConfig;
|
||||
|
||||
/**
|
||||
* 服务名称
|
||||
*/
|
||||
private String serviceName;
|
||||
|
||||
/**
|
||||
* 服务类型
|
||||
*/
|
||||
private String serviceType;
|
||||
}
|
||||
|
@ -117,4 +117,15 @@ public class DataSourceVO {
|
||||
* @see ai.chat2db.server.domain.api.enums.DataSourceKindEnum
|
||||
*/
|
||||
private String kind;
|
||||
|
||||
|
||||
/**
|
||||
* 服务名称
|
||||
*/
|
||||
private String serviceName;
|
||||
|
||||
/**
|
||||
* 服务类型
|
||||
*/
|
||||
private String serviceType;
|
||||
}
|
||||
|
Reference in New Issue
Block a user