package com.hotwj.platform.config.examPaper.domain.bo;

import com.hotwj.platform.config.examPaper.domain.HotExamPaper;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

/**
 * 试卷库业务对象 hot_exam_paper
 *
 * @author shihongwei
 * @date 2025-12-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotExamPaper.class, reverseConvertGenerate = false)
public class HotExamPaperBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long id;

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

    /**
     * 试卷名称
     */
    private String name;

    /**
     * 试卷分类字典编码
     */
    private String categoryCode;

    /**
     * 教育类型字典编码
     */
    private String trainingTypeCode;

    /**
     * 教育类型子集编码集(JSON/逗号分隔)
     */
    private String trainingSubtypeCodes;

    /**
     * 检测题数
     */
    private Long questionCount;

    /**
     * 试卷总分
     */
    private Long totalScore;

    /**
     * 及格分数
     */
    private Long passScore;

    /**
     * 状态：1=启用 0=禁用
     */
    private Long status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 0=正常, 1=已删除
     */
    private Long isDeleted;


}
