diff --git a/core/core-backend/src/main/java/io/dataease/template/dao/auto/entity/VisualizationTemplateCategory.java b/core/core-backend/src/main/java/io/dataease/template/dao/auto/entity/VisualizationTemplateCategory.java new file mode 100644 index 0000000000..e7b5ceb0b2 --- /dev/null +++ b/core/core-backend/src/main/java/io/dataease/template/dao/auto/entity/VisualizationTemplateCategory.java @@ -0,0 +1,161 @@ +package io.dataease.template.dao.auto.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; + +/** + *
+ * 模板表 + *
+ * + * @author fit2cloud + * @since 2023-12-04 + */ +@TableName("visualization_template_category") +public class VisualizationTemplateCategory implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 名称 + */ + private String name; + + /** + * 父级id + */ + private String pid; + + /** + * 层级 + */ + private Integer level; + + /** + * 模版种类 dataV or dashboard 目录或者文件夹 + */ + private String dvType; + + /** + * 节点类型 folder or panel 目录或者文件夹 + */ + private String nodeType; + + /** + * 创建人 + */ + private String createBy; + + /** + * 创建时间 + */ + private Long createTime; + + /** + * 缩略图 + */ + private String snapshot; + + private String templateType; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getPid() { + return pid; + } + + public void setPid(String pid) { + this.pid = pid; + } + + public Integer getLevel() { + return level; + } + + public void setLevel(Integer level) { + this.level = level; + } + + public String getDvType() { + return dvType; + } + + public void setDvType(String dvType) { + this.dvType = dvType; + } + + public String getNodeType() { + return nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public String getCreateBy() { + return createBy; + } + + public void setCreateBy(String createBy) { + this.createBy = createBy; + } + + public Long getCreateTime() { + return createTime; + } + + public void setCreateTime(Long createTime) { + this.createTime = createTime; + } + + public String getSnapshot() { + return snapshot; + } + + public void setSnapshot(String snapshot) { + this.snapshot = snapshot; + } + + public String getTemplateType() { + return templateType; + } + + public void setTemplateType(String templateType) { + this.templateType = templateType; + } + + @Override + public String toString() { + return "VisualizationTemplateCategory{" + + "id = " + id + + ", name = " + name + + ", pid = " + pid + + ", level = " + level + + ", dvType = " + dvType + + ", nodeType = " + nodeType + + ", createBy = " + createBy + + ", createTime = " + createTime + + ", snapshot = " + snapshot + + ", templateType = " + templateType + + "}"; + } +} diff --git a/core/core-backend/src/main/java/io/dataease/template/dao/auto/entity/VisualizationTemplateCategoryMap.java b/core/core-backend/src/main/java/io/dataease/template/dao/auto/entity/VisualizationTemplateCategoryMap.java new file mode 100644 index 0000000000..2bb17c81d8 --- /dev/null +++ b/core/core-backend/src/main/java/io/dataease/template/dao/auto/entity/VisualizationTemplateCategoryMap.java @@ -0,0 +1,66 @@ +package io.dataease.template.dao.auto.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; + +/** + *+ * 模板表 + *
+ * + * @author fit2cloud + * @since 2023-12-04 + */ +@TableName("visualization_template_category_map") +public class VisualizationTemplateCategoryMap implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 主键 + */ + private String id; + + /** + * 名称 + */ + private String categoryId; + + /** + * 父级id + */ + private String templateId; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getCategoryId() { + return categoryId; + } + + public void setCategoryId(String categoryId) { + this.categoryId = categoryId; + } + + public String getTemplateId() { + return templateId; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + } + + @Override + public String toString() { + return "VisualizationTemplateCategoryMap{" + + "id = " + id + + ", categoryId = " + categoryId + + ", templateId = " + templateId + + "}"; + } +} diff --git a/core/core-backend/src/main/java/io/dataease/template/dao/auto/mapper/VisualizationTemplateCategoryMapMapper.java b/core/core-backend/src/main/java/io/dataease/template/dao/auto/mapper/VisualizationTemplateCategoryMapMapper.java new file mode 100644 index 0000000000..bf8c10b2d9 --- /dev/null +++ b/core/core-backend/src/main/java/io/dataease/template/dao/auto/mapper/VisualizationTemplateCategoryMapMapper.java @@ -0,0 +1,18 @@ +package io.dataease.template.dao.auto.mapper; + +import io.dataease.template.dao.auto.entity.VisualizationTemplateCategoryMap; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + *+ * 模板表 Mapper 接口 + *
+ * + * @author fit2cloud + * @since 2023-12-04 + */ +@Mapper +public interface VisualizationTemplateCategoryMapMapper extends BaseMapper+ * 模板表 Mapper 接口 + *
+ * + * @author fit2cloud + * @since 2023-12-04 + */ +@Mapper +public interface VisualizationTemplateCategoryMapper extends BaseMapper