Commit 905b4b06 by yuwei

2.0.0项目初始化

parent 7e8d338b
...@@ -33,7 +33,7 @@ public class DataSourceDto implements Serializable { ...@@ -33,7 +33,7 @@ public class DataSourceDto implements Serializable {
private String sourceName; private String sourceName;
@ApiModelProperty(value = "数据源描述") @ApiModelProperty(value = "数据源描述")
@NotBlank(message = "数据源描述不能为空", groups = {ValidationGroups.Insert.class, ValidationGroups.Update.class}) @NotBlank(message = "数据源描述不能为空", groups = {ValidationGroups.Insert.class, ValidationGroups.Update.class})
private String sourceDesc; private String remark;
@ApiModelProperty(value = "数据源连接信息") @ApiModelProperty(value = "数据源连接信息")
@Valid @Valid
private DbSchemaDto dbSchema; private DbSchemaDto dbSchema;
......
...@@ -37,7 +37,7 @@ public class DataSourceEntity extends BaseEntity { ...@@ -37,7 +37,7 @@ public class DataSourceEntity extends BaseEntity {
/** /**
* 数据源描述 * 数据源描述
*/ */
private String sourceDesc; private String remark;
/** /**
* 数据源连接信息 * 数据源连接信息
......
...@@ -26,6 +26,6 @@ public class DataSourceVo implements Serializable { ...@@ -26,6 +26,6 @@ public class DataSourceVo implements Serializable {
private LocalDateTime createTime; private LocalDateTime createTime;
private String dbType; private String dbType;
private String sourceName; private String sourceName;
private String sourceDesc; private String remark;
private DbSchema dbSchema; private DbSchema dbSchema;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment