vran
3 years ago
committed by
GitHub
11 changed files with 115 additions and 21 deletions
@ -0,0 +1,29 @@ |
|||||
|
package com.databasir.core.domain.project.data; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class ProjectTestConnectionRequest { |
||||
|
|
||||
|
private Integer projectId; |
||||
|
|
||||
|
@NotBlank |
||||
|
private String username; |
||||
|
|
||||
|
private String password; |
||||
|
|
||||
|
@NotBlank |
||||
|
private String url; |
||||
|
|
||||
|
@NotBlank |
||||
|
private String databaseName; |
||||
|
|
||||
|
@NotBlank |
||||
|
private String databaseType; |
||||
|
|
||||
|
private List<DataSourcePropertyValue> properties = new ArrayList<>(); |
||||
|
} |
Loading…
Reference in new issue