提示词管理代码架构
This commit is contained in:
50
src/main/java/com/rj/entity/AiPrompts.java
Normal file
50
src/main/java/com/rj/entity/AiPrompts.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package com.rj.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* AI 提示词配置(表 ai_prompts)
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@TableName("ai_prompts")
|
||||
@Schema(description = "AI提示词配置(ai_prompts)")
|
||||
public class AiPrompts implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "主键,UUID")
|
||||
@TableId("id")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "场景编码")
|
||||
private String sceneCode;
|
||||
|
||||
@Schema(description = "分类编码")
|
||||
private String categoryCode;
|
||||
|
||||
@Schema(description = "分类描述")
|
||||
private String categoryDesc;
|
||||
|
||||
@Schema(description = "字段编码")
|
||||
private String fieldCode;
|
||||
|
||||
@Schema(description = "提示词")
|
||||
private String promptText;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
Reference in New Issue
Block a user