package org.jk.rag.domain.entity;

import org.jk.common.mybatis.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.jk.system.domain.SysUser;

import java.util.ArrayList;
import java.util.List;

/**
 * 智谱应用列表 bm_application
 *
 * @author takai
 */
@Data
@Builder
@NoArgsConstructor  // 生成无参构造方法
@AllArgsConstructor // 生成全参构造方法（供@Builder使用）
public class JkApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应用ID */
    private String appId;

    /** 应用名称 */
    private String name;

    /** 应用描述 */
    private String desc;

    /** 模版 */
    private String prompt;

    /** 采样温度的另一种方式 */
    private Double topP;

    private Integer topK;

    /** 采样温度 */
    private String temperature;

    /** 知识库id列表 */
    private String knowledgeIds;

    /** 分片数量 */
    private Integer sliceCount;

    /** model */
    private String model;

    /** icon_color */
    private String iconColor;

    /** icon_type */
    private String iconType;

    /** max_token */
    private Integer maxToken;

    private String isDeepThink;

    private String paramDesc;

    private String knowledgeInfo;

    private Long typeId;

    private String status;

    private String approver;

    private String nodeOrder;

    private String comment;

    private String flag;

    private String projectId;

    private String addOrderBy;

    //项目级应用 返回['项目分类','项目id']
    private String appProId;

    private String visible;

    private String groupVisible;

    private List<SysUser> vipList;

    private String remark;

    private String isCollect;

    private Integer sort;

}
