路径标签.

This commit is contained in:
lijiahang
2024-04-24 16:43:59 +08:00
parent 8ecb5a687e
commit d6a021b4d9
25 changed files with 188 additions and 68 deletions

View File

@@ -42,6 +42,10 @@ public class PathBookmarkDO extends BaseDO {
@TableField("name")
private String name;
@Schema(description = "类型")
@TableField("type")
private String type;
@Schema(description = "路径")
@TableField("path")
private String path;

View File

@@ -34,6 +34,9 @@ public class PathBookmarkCacheDTO implements LongCacheIdModel, Serializable {
@Schema(description = "名称")
private String name;
@Schema(description = "类型")
private String type;
@Schema(description = "路径")
private String path;

View File

@@ -34,6 +34,11 @@ public class PathBookmarkCreateRequest implements Serializable {
@Schema(description = "名称")
private String name;
@NotBlank
@Size(max = 4)
@Schema(description = "类型")
private String type;
@NotBlank
@Size(max = 1024)
@Schema(description = "路径")

View File

@@ -39,6 +39,11 @@ public class PathBookmarkUpdateRequest implements Serializable {
@Schema(description = "名称")
private String name;
@NotBlank
@Size(max = 4)
@Schema(description = "类型")
private String type;
@NotBlank
@Size(max = 1024)
@Schema(description = "路径")

View File

@@ -36,6 +36,9 @@ public class PathBookmarkVO implements Serializable {
@Schema(description = "名称")
private String name;
@Schema(description = "类型")
private String type;
@Schema(description = "路径")
private String path;

View File

@@ -8,6 +8,7 @@
<result column="user_id" property="userId"/>
<result column="group_id" property="groupId"/>
<result column="name" property="name"/>
<result column="type" property="type"/>
<result column="path" property="path"/>
<result column="create_time" property="createTime"/>
<result column="update_time" property="updateTime"/>
@@ -18,7 +19,7 @@
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
id, user_id, group_id, name, path, create_time, update_time, creator, updater, deleted
id, user_id, group_id, name, type, path, create_time, update_time, creator, updater, deleted
</sql>
</mapper>