package org.xyzh.common.dto.ai;

import org.xyzh.common.dto.BaseDTO;
import java.math.BigDecimal;

/**
 * @description 智能体配置表
 * @filename TbAiAgentConfig.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-10-15
 */
public class TbAiAgentConfig extends BaseDTO {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * @description 智能体名称
     */
    private String name;
    
    /**
     * @description 智能体头像
     */
    private String avatar;
    
    /**
     * @description 系统提示词
     */
    private String systemPrompt;
    
    /**
     * @description 模型名称
     */
    private String modelName;
    
    /**
     * @description 模型提供商
     */
    private String modelProvider;
    
    /**
     * @description 温度值
     */
    private BigDecimal temperature;
    
    /**
     * @description 最大tokens
     */
    private Integer maxTokens;
    
    /**
     * @description Top P值
     */
    private BigDecimal topP;
    
    /**
     * @description 状态（0禁用 1启用）
     */
    private Integer status;
    
    /**
     * @description 创建者
     */
    private String creator;
    
    /**
     * @description 更新者
     */
    private String updater;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getSystemPrompt() {
        return systemPrompt;
    }

    public void setSystemPrompt(String systemPrompt) {
        this.systemPrompt = systemPrompt;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelProvider() {
        return modelProvider;
    }

    public void setModelProvider(String modelProvider) {
        this.modelProvider = modelProvider;
    }

    public BigDecimal getTemperature() {
        return temperature;
    }

    public void setTemperature(BigDecimal temperature) {
        this.temperature = temperature;
    }

    public Integer getMaxTokens() {
        return maxTokens;
    }

    public void setMaxTokens(Integer maxTokens) {
        this.maxTokens = maxTokens;
    }

    public BigDecimal getTopP() {
        return topP;
    }

    public void setTopP(BigDecimal topP) {
        this.topP = topP;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    @Override
    public String toString() {
        return "TbAiAgentConfig{" +
                "id=" + getID() +
                ", name='" + name + '\'' +
                ", modelName='" + modelName + '\'' +
                ", modelProvider='" + modelProvider + '\'' +
                ", status=" + status +
                ", createTime=" + getCreateTime() +
                '}';
    }
}
