package com.fs.survey.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fs.common.annotation.Excel;
import com.fs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 问卷主表对象 survey_questionnaire
 *
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SurveyQuestionnaire extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 租户ID */
    @Excel(name = "公司id")
    private Long companyId;

    @Excel(name = "公司名称")
    @TableField(exist = false)
    private String companyName;

    /** 问卷名称 */
    @Excel(name = "问卷名称")
    private String name;

    /** 问卷描述 */
    @Excel(name = "问卷描述")
    private String description;

    /** 状态：0草稿 1已发布 2已停用 */
    @Excel(name = "状态", readConverterExp = "0=草稿,1=已发布,2=已停用")
    private Integer status;

    /** 当前发布的版本ID */
    @Excel(name = "当前版本ID")
    private Long currentVersionId;

    /** 删除标志：0存在 1删除 */
    private String delFlag;

    /** 分类（字典值） */
    @Excel(name = "分类", readConverterExp = "字=典值")
    private String surveyQuestionnaireType;

}
