admin
2025-06-07 3732bde983f34f5cb729ac1724b9795fb97d8941
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
package tech.aiflowy.ai.entity;
 
import tech.aiflowy.ai.entity.base.AiPluginsBase;
import com.mybatisflex.annotation.Column;
import com.agentsflex.core.llm.functions.Function;
import com.mybatisflex.annotation.Table;
 
 
/**
 * 插件 实体类。
 *
 * @author ArkLight
 * @since 2025-04-01
 */
@Table(value = "tb_ai_plugins", comment = "插件")
public class AiPlugins extends AiPluginsBase {
 
    @Column(ignore = true)
    private String title;
 
    public String getTitle() {
        return this.getPluginName();
    }
 
    public void setTitle(String title) {
        this.title = title;
    }
 
    public Function toFunction() {
        return new AiPluginsFunction(this);
    }
}