工业互联网平台2.0版本后端代码
houzhongjian
2025-05-29 41499fd3c28216c1526a72b10fa98eb8ffee78cb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package com.iailab.module.ai.dal.dataobject.questiontemplate;
 
import lombok.*;
 
import java.time.LocalDateTime;
 
import com.baomidou.mybatisplus.annotation.*;
import com.iailab.framework.mybatis.core.dataobject.BaseDO;
 
/**
 * 大模型问题模板 DO
 *
 * @author 超级管理员
 */
@TableName("ai_question_template")
@KeySequence("ai_question_template_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QuestionTemplateDO extends BaseDO {
 
    /**
     * id
     */
    @TableId(type = IdType.INPUT)
    private String id;
    /**
     * 模型id
     */
    private String modelId;
    /**
     * 问题编号
     */
    private String questionCode;
    /**
     * 问题名称
     */
    private String questionName;
    /**
     * 问题内容
     */
    private String questionContent;
    /**
     * 输入个数
     */
    private Integer dataLength;
    /**
     * 是否启用(0禁用 1启用)
     */
    private Integer isEnable;
    /**
     * 备注
     */
    private String remark;
 
}