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.ThinkRag;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 【请填写功能名称】业务对象 think_rag
 *
 * @author wangkang
 * @date 2025-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ThinkRag.class, reverseConvertGenerate = false)
public class ThinkRagBo extends BaseEntity {

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

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

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

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

    /**
     * 创建时间
     */
    @NotNull(message = "创建时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long time;


}
