-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAiMemory.java
More file actions
79 lines (62 loc) · 1.72 KB
/
AiMemory.java
File metadata and controls
79 lines (62 loc) · 1.72 KB
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
package com.github.aiassistant.entity;
import java.io.Serializable;
import java.util.Date;
// @Data
// @ApiModel(description = "记忆")
// @TableName("ai_memory")
public class AiMemory implements Serializable {
// @TableId(value = "id", type = IdType.AUTO)
private Integer id;
private Date createTime;
private Date updateTime;
private Integer userTokenCount;
private Integer aiTokenCount;
private Integer userCharLength;
private Integer aiCharLength;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Integer getUserTokenCount() {
return userTokenCount;
}
public void setUserTokenCount(Integer userTokenCount) {
this.userTokenCount = userTokenCount;
}
public Integer getAiTokenCount() {
return aiTokenCount;
}
public void setAiTokenCount(Integer aiTokenCount) {
this.aiTokenCount = aiTokenCount;
}
public Integer getUserCharLength() {
return userCharLength;
}
public void setUserCharLength(Integer userCharLength) {
this.userCharLength = userCharLength;
}
public Integer getAiCharLength() {
return aiCharLength;
}
public void setAiCharLength(Integer aiCharLength) {
this.aiCharLength = aiCharLength;
}
@Override
public String toString() {
return id + "#" + createTime;
}
}