package org.dromara.system.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.system.domain.bo.SysScreeningAssessmentQuestionBo;

import java.io.Serial;
import java.util.List;

/**
 * 题目对象 sys_screening_assessment_question
 *
 * @author Lion Li
 * @date 2025-07-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_screening_assessment_question")
public class SysScreeningAssessmentQuestion extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "question_id")
    private Long questionId;

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

    /**
     * 标题
     */
    private String title;

    /**
     * 题型
     */
    private String questionType;

    /**
     * 子题型
     */
    private String questionChildType;

    /**
     * 系统参数-other类型：
     */
    private String lastType;

    /**
     * 内容
     */
    private String content;

    /**
     * 是否必填
     */
    private Boolean required;

    /**
     * 横向排列、竖向排列
     */
    private String arrangement;

    /**
     * 累计选项得分、按最高分、按最低分
     */
    private String scoreMethod;
}
