package org.springblade.plugin.workflow.chat.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.io.Serial;

/**
 * dify - 智能助理 实体类
 *
 * @author ssc
 */
@Data
@TableName("blade_wf_chat_assistant")
@Schema(description = "Assistant对象")
@EqualsAndHashCode(callSuper = true)
public class WfChatAssistantEntity extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 应用id
	 */
	@Schema(description = "应用id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long appId;

	/**
	 * 应用类型
	 */
	@Schema(description = "应用类型")
	private String appType;

	/**
	 * 名称
	 */
	@Schema(description = "名称")
	private String name;

	/**
	 * 图片
	 */
	@Schema(description = "图片")
	private String imgUrl;

	/**
	 * 描述
	 */
	@Schema(description = "描述")
	private String description;

	/**
	 * 系统提示词
	 */
	@Schema(description = "系统提示词")
	private String systemPrompt;

	/**
	 * 类型
	 */
	@Schema(description = "类型")
	private String type;
}
