admin
2025-06-06 9cd825aea53fa5ba0cda1485464af027e27f0ce4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
package tech.aiflowy.ai.entity.base;
 
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
 
import java.io.Serializable;
import java.math.BigInteger;
 
 
public class AiDocumentChunkBase implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Id(keyType = KeyType.Generator, value = "snowFlakeId")
    private BigInteger id;
 
    /**
     * 文档ID
     */
    @Column(comment = "文档ID")
    private BigInteger documentId;
 
    /**
     * 知识库ID
     */
    @Column(comment = "知识库ID")
    private BigInteger knowledgeId;
 
    /**
     * 分块内容
     */
    @Column(comment = "分块内容")
    private String content;
 
    /**
     * 分块顺序
     */
    @Column(comment = "分块顺序")
    private Integer sorting;
 
    public Integer getSorting() {
        return sorting;
    }
 
    public void setSorting(Integer sorting) {
        this.sorting = sorting;
    }
 
    public BigInteger getId() {
        return id;
    }
 
    public void setId(BigInteger id) {
        this.id = id;
    }
 
    public BigInteger getDocumentId() {
        return documentId;
    }
 
    public void setDocumentId(BigInteger documentId) {
        this.documentId = documentId;
    }
 
    public BigInteger getKnowledgeId() {
        return knowledgeId;
    }
 
    public void setKnowledgeId(BigInteger knowledgeId) {
        this.knowledgeId = knowledgeId;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
 
}