package com.seer.teach.teacher.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 功能提示词表
 * </p>
 *
 * @author Wang
 * @since 2025-10-28 14:20:25
 */
@Getter
@Setter
@TableName("teacher_prompt_functions")
@Schema(name = "PromptFunctionsEntity对象", description = "功能提示词表")
public class PromptFunctionsEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "所属模块（如：code_review, doc_gen）")
    @TableField("module")
    private String module;

    @Schema(description = "功能名称")
    @TableField("`name`")
    private String name;

    @Schema(description = "功能说明")
    @TableField("`description`")
    private String description;

    @Schema(description = "功能Prompt模板内容（可包含{{变量}}）")
    @TableField("content")
    private String content;

    @Schema(description = "状态(1启用,0禁用)")
    @TableField("`status`")
    private Integer status;

    @Schema(description = "模板版本")
    @TableField("version")
    private Integer version;

}
