package com.doumee.dao.business.model;
|
|
import com.doumee.core.annotation.excel.ExcelColumn;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import java.util.Date;
|
|
/**
|
* 问卷调查题目信息表
|
* @author 江蹄蹄
|
* @date 2023/02/15 08:55
|
*/
|
@Data
|
@ApiModel("问卷调查题目信息表")
|
@TableName("`questionnaire_problem`")
|
public class QuestionnaireProblem {
|
|
@ApiModelProperty(value = "主键", example = "1")
|
// @ExcelColumn(name="主键")
|
@TableId(value = "id",type = IdType.AUTO)
|
private Integer id;
|
|
|
|
@ApiModelProperty(value = "创建人编码", example = "1")
|
// @ExcelColumn(name="创建人编码")
|
private Integer creator;
|
|
@ApiModelProperty(value = "创建时间")
|
// @ExcelColumn(name="创建时间")
|
private Date createDate;
|
|
@ApiModelProperty(value = "更新人编码", example = "1")
|
// @ExcelColumn(name="更新人编码")
|
private Integer editor;
|
|
@ApiModelProperty(value = "更新时间")
|
// @ExcelColumn(name="更新时间")
|
private Date editDate;
|
|
@ApiModelProperty(value = "是否删除0否 1是", example = "1")
|
// @ExcelColumn(name="是否删除0否 1是")
|
private Integer isdeleted;
|
|
@ApiModelProperty(value = "题目")
|
@ExcelColumn(name="题目",value = "title",index = 1,width = 20)
|
private String title;
|
|
@ApiModelProperty(value = "备注")
|
@ExcelColumn(name="分数",value = "remark",index = 4,width = 8)
|
private String remark;
|
|
@ApiModelProperty(value = "序号", example = "1")
|
@ExcelColumn(name="序号",type = 1,index = 0,width = 3)
|
private Integer sortnum;
|
|
@ApiModelProperty(value = "所属问卷编码(关联questionnaire表)", example = "1")
|
// @ExcelColumn(name="所属问卷编码(关联questionnaire表)")
|
private Integer questionnaireId;
|
|
@ApiModelProperty(value = "选项情况,json数组,属性opt和score")
|
@ExcelColumn(name="答案",value = "opt",index = 3,width = 20)
|
private String opt;
|
|
@ExcelColumn(name="题型",value = "type",index = 2,width = 6)
|
private String type;
|
|
}
|