You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
1.7 KiB
Java
84 lines
1.7 KiB
Java
package com.supervision.model;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
import java.io.Serializable;
|
|
import java.time.LocalDateTime;
|
|
import java.util.List;
|
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
import com.supervision.handler.StringListTypeHandler;
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* 诊断问询-疾病特有意图问题及回复
|
|
*
|
|
* @TableName vp_ask_disease_question_answer
|
|
*/
|
|
@TableName(value = "vp_ask_disease_question_answer", autoResultMap = true)
|
|
@Data
|
|
public class AskDiseaseQuestionAnswer extends Model<AskDiseaseQuestionAnswer> implements Serializable {
|
|
/**
|
|
* 主键
|
|
*/
|
|
@TableId
|
|
private String id;
|
|
|
|
/**
|
|
* 疾病ID
|
|
*/
|
|
private String diseaseId;
|
|
|
|
/**
|
|
* 模板问题ID(如果not null,则从template_question表出code,desc,question)
|
|
*/
|
|
private String templateQuestionId;
|
|
|
|
/**
|
|
* 编码
|
|
*/
|
|
private String code;
|
|
|
|
/**
|
|
* 中文注释
|
|
*/
|
|
private String description;
|
|
|
|
/**
|
|
* 问题列表
|
|
*/
|
|
@TableField(typeHandler = StringListTypeHandler.class)
|
|
private List<String> question;
|
|
|
|
/**
|
|
* 回答
|
|
*/
|
|
@TableField(typeHandler = StringListTypeHandler.class)
|
|
private List<String> answer;
|
|
|
|
/**
|
|
* 创建人ID
|
|
*/
|
|
private String createUserId;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private LocalDateTime createTime;
|
|
|
|
/**
|
|
* 更新人
|
|
*/
|
|
private String updateUserId;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
private LocalDateTime updateTime;
|
|
|
|
@TableField(exist = false)
|
|
private static final long serialVersionUID = 1L;
|
|
} |