package com.storlead.system.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * AI 提示词模板（agent_prompt_template）
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("agent_prompt_template")
@ApiModel(value = "AgentPromptTemplateEntity", description = "AI提示词模板")
public class AgentPromptTemplateEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "模板名称")
    private String templateName;

    @ApiModelProperty(value = "模板编码，同应用下唯一")
    private String templateCode;

    @ApiModelProperty(value = "所属应用 ID，对应 sys_app.id")
    private Long appId;

    @ApiModelProperty(value = "prompt 内容")
    private String promptContent;
}
