package com.panzhihua.service_community.model.dos; import java.io.Serializable; 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 lombok.Data; /** * @Author: llming * @Description: 问卷题目 */ @Data @TableName(value = "com_act_questnaire_sub") public class ComActQuestnaireSubDO extends BaseDO implements Serializable { private static final long serialVersionUID = 914683789736719693L; @TableId(type = IdType.ASSIGN_ID) private Long id; /** * 类型 0 单选 1 多选 2 输入框 2姓名输入框 3 手机号 4 身份证 5 文字描述 6 日期选择 */ private Integer type; /** * 题目内容 */ private String content; /** * 序号 */ private int sort; /** * 调查问卷Id */ private Long queId; /** * 问卷调查题目key */ @TableField("`key`") private String key; /** * 类型 0 单选 1 多选 2 输入框 3 手机号 4 身份证 5 文字描述 6 日期选择 7 时间选择 8 可换行的输入框 9姓名输入框 10图片选择 11图片上传 */ public interface type { int danxuan = 0; int duoxuan = 1; int wenda = 2; int phone = 3; int card = 4; int describe = 5; int date = 6; int time = 7; int input = 8; int name = 9; int imgselect = 10; int imgopload = 11; } }