mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-04-15 12:53:42 +00:00
feat: 1. 调整项目结构 2.增加插件管理
This commit is contained in:
@@ -3,6 +3,7 @@ package org.ruoyi.knowledge.domain;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.ruoyi.common.mybatis.core.domain.BaseEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
@@ -16,7 +17,7 @@ import java.util.Date;
|
||||
@Data
|
||||
|
||||
@TableName("knowledge_attach")
|
||||
public class KnowledgeAttach implements Serializable {
|
||||
public class KnowledgeAttach extends BaseEntity {
|
||||
|
||||
|
||||
@TableId(value = "id")
|
||||
@@ -47,14 +48,4 @@ public class KnowledgeAttach implements Serializable {
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 创建者
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ package org.ruoyi.knowledge.domain;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.ruoyi.common.mybatis.core.domain.BaseEntity;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
@@ -16,7 +17,7 @@ import java.util.Date;
|
||||
*/
|
||||
@Data
|
||||
@TableName("knowledge_fragment")
|
||||
public class KnowledgeFragment implements Serializable {
|
||||
public class KnowledgeFragment extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -49,14 +50,5 @@ public class KnowledgeFragment implements Serializable {
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 创建者
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
import org.ruoyi.common.mybatis.core.domain.BaseEntity;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
@@ -18,7 +19,7 @@ import java.util.Date;
|
||||
*/
|
||||
@Data
|
||||
@TableName("knowledge_info")
|
||||
public class KnowledgeInfo implements Serializable {
|
||||
public class KnowledgeInfo extends BaseEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -54,17 +55,6 @@ public class KnowledgeInfo implements Serializable {
|
||||
*/
|
||||
private String description;
|
||||
|
||||
|
||||
/**
|
||||
* 创建者
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 知识分隔符
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user