package com.hotwj.platform.config.examPaperQuestion.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 试卷-题目关联对象 hot_exam_paper_question
 *
 * @author shihongwei
 * @date 2025-12-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_exam_paper_question")
public class HotExamPaperQuestion extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 试卷ID
     */
    private Long paperId;

    /**
     * 题目ID
     */
    private Long questionId;

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

    /**
     * 排序值
     */
    private Long sortOrder;

    /**
     * 题目分值(若为空则使用原题分值)
     */
    private Long score;


}
