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

@ -132,6 +132,17 @@ public class DataSource {
*/
private String kind;
/**
* 服务名称
*/
private String serviceName;
/**
* 服务类型
*/
private String serviceType;
public LinkedHashMap<String, Object> getExtendMap() {
if (ObjectUtils.isEmpty(extendInfo)) {
return new LinkedHashMap<>();

View File

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

View File

@ -104,4 +104,14 @@ public class DataSourceUpdateParam {
*/
private DriverConfig driverConfig;
/**
* 服务名称
*/
private String serviceName;
/**
* 服务类型
*/
private String serviceType;
}