package org.jk.rag.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jk.common.tenant.core.TenantEntity;

import java.io.Serial;

/**
 * 模型配置对象 model_config
 *
 * @author Lion Li
 * @date 2026-01-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("model_config")
public class ModelConfig extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID，雪花算法生成
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 模型
     */
    private String model;

    /**
     * apikey
     */
    private String apiKey;

    /**
     * url
     */
    private String url;

    /**
     * 最大token
     */
    private String maxToken;

    /**
     * 模型类型
     */
    private String modelType;

    private String bindingModel;

    private String embeddingModel;

    private String flg;
}
