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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
package tech.aiflowy.ai.entity.base;
 
import tech.aiflowy.common.entity.DateEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.core.handler.FastjsonTypeHandler;
 
import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;
import java.util.Map;
 
 
public class AiBotBase extends DateEntity implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键ID
     */
    @Id(keyType = KeyType.Generator, value = "snowFlakeId", comment = "主键ID")
    private BigInteger id;
 
    /**
     * 部门ID
     */
    @Column(comment = "部门ID")
    private BigInteger deptId;
 
    /**
     * 租户ID
     */
    @Column(comment = "租户ID", tenantId = true)
    private BigInteger tenantId;
 
    /**
     * 标题
     */
    @Column(comment = "标题")
    private String title;
 
    /**
     * 描述
     */
    @Column(comment = "描述")
    private String description;
 
    /**
     * 图标
     */
    @Column(comment = "图标")
    private String icon;
 
    /**
     * LLM ID
     */
    @Column(comment = "LLM ID")
    private BigInteger llmId;
 
    /**
     * LLM选项
     */
    @Column(typeHandler = FastjsonTypeHandler.class, comment = "LLM选项")
    private Map<String, Object> llmOptions;
 
    /**
     * 选项
     */
    @Column(typeHandler = FastjsonTypeHandler.class, comment = "选项")
    private Map<String, Object> options;
 
    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private Date created;
 
    /**
     * 创建者ID
     */
    @Column(comment = "创建者ID")
    private BigInteger createdBy;
 
    /**
     * 修改时间
     */
    @Column(comment = "修改时间")
    private Date modified;
 
    /**
     * 修改者ID
     */
    @Column(comment = "修改者ID")
    private BigInteger modifiedBy;
 
    @Column(comment = "API")
    private String modelAPI;
 
    @Column(comment = "KEY")
    private String modelKEY;
 
 
    @Column(comment = "一级菜单编号")
    private Integer firstMenuId;
 
    @Column(comment = "二级菜单编号")
    private Integer secondMenuId;
 
    public Integer getFirstMenuId() {
        return firstMenuId;
    }
 
    public void setFirstMenuId(Integer firstMenuId) {
        this.firstMenuId = firstMenuId;
    }
 
    public String getModelAPI() {
        return modelAPI;
    }
 
    public void setModelAPI(String modelAPI) {
        this.modelAPI = modelAPI;
    }
 
    public String getModelKEY() {
        return modelKEY;
    }
 
    public void setModelKEY(String modelKEY) {
        this.modelKEY = modelKEY;
    }
 
    public Integer getSecondMenuId() {
        return secondMenuId;
    }
 
    public void setSecondMenuId(Integer secondMenuId) {
        this.secondMenuId = secondMenuId;
    }
 
    public BigInteger getId() {
        return id;
    }
 
    public void setId(BigInteger id) {
        this.id = id;
    }
 
    public BigInteger getDeptId() {
        return deptId;
    }
 
    public void setDeptId(BigInteger deptId) {
        this.deptId = deptId;
    }
 
    public BigInteger getTenantId() {
        return tenantId;
    }
 
    public void setTenantId(BigInteger tenantId) {
        this.tenantId = tenantId;
    }
 
    public String getTitle() {
        return title;
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public String getDescription() {
        return description;
    }
 
    public void setDescription(String description) {
        this.description = description;
    }
 
    public String getIcon() {
        return icon;
    }
 
    public void setIcon(String icon) {
        this.icon = icon;
    }
 
    public BigInteger getLlmId() {
        return llmId;
    }
 
    public void setLlmId(BigInteger llmId) {
        this.llmId = llmId;
    }
 
    public Map<String, Object> getLlmOptions() {
        return llmOptions;
    }
 
    public void setLlmOptions(Map<String, Object> llmOptions) {
        this.llmOptions = llmOptions;
    }
 
    public Map<String, Object> getOptions() {
        return options;
    }
 
    public void setOptions(Map<String, Object> options) {
        this.options = options;
    }
 
    public Date getCreated() {
        return created;
    }
 
    public void setCreated(Date created) {
        this.created = created;
    }
 
    public BigInteger getCreatedBy() {
        return createdBy;
    }
 
    public void setCreatedBy(BigInteger createdBy) {
        this.createdBy = createdBy;
    }
 
    public Date getModified() {
        return modified;
    }
 
    public void setModified(Date modified) {
        this.modified = modified;
    }
 
    public BigInteger getModifiedBy() {
        return modifiedBy;
    }
 
    public void setModifiedBy(BigInteger modifiedBy) {
        this.modifiedBy = modifiedBy;
    }
 
}