liujie
2025-06-09 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActQuestnaireSubDO.java
@@ -1,8 +1,12 @@
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;
/**
@@ -11,13 +15,14 @@
 */
@Data
@TableName(value = "com_act_questnaire_sub")
public class ComActQuestnaireSubDO extends BaseDO {
    @TableId(type= IdType.AUTO)
public class ComActQuestnaireSubDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 914683789736719693L;
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 类型 0单选1多选2问答题
     * 类型 0 单选  1 多选 2 输入框 2姓名输入框 3 手机号 4 身份证 5 文字描述 6 日期选择
     */
    private int type;
    private Integer type;
    /**
     * 题目内容
     */
@@ -30,4 +35,28 @@
     * 调查问卷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;
    }
}