package com.emoon.knowledge.domain.bo;

import com.emoon.common.core.validate.validate.AddGroup;
import com.emoon.common.core.validate.validate.EditGroup;
import com.emoon.common.mybatis.core.domain.BaseEntity;
import com.emoon.knowledge.domain.ThinkAgent;
import com.emoon.knowledge.domain.ThinkProject;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 项目业务对象 think_project
 *
 * @author wangkang
 * @date 2025-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ThinkProject.class, reverseConvertGenerate = false)
public class ThinkProjectBo extends BaseEntity {

    /**
     * 主键索引
     */
    private Long id;

    /**
     * 组织名称
     */
    private String organization;

    /**
     * 项目名称
     */
    private String project;

    /**
     * 私钥
     */
    private String privateKey;

    /**
     * 公钥
     */
    private String publicKey;

    /**
     * 模型仓库
     */
    private String models;

    /**
     * 知识库仓库
     */
    @NotBlank(message = "知识库仓库不能为空", groups = { AddGroup.class, EditGroup.class })
    private String rags;

    /**
     * 智能体权限
     */
    @NotBlank(message = "智能体权限不能为空", groups = { AddGroup.class, EditGroup.class })
    private String agents;


}
