package com.hotwj.platform.securityManagement.trainingAnswer.domain.bo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class SubmitTrainingAnswerBo {

    @NotNull
    private Long companyId;

    /**
     * 答题场景：LESSON=课程随堂题 PLAN=计划配置题
     */
    @NotNull
    private String sceneType;

    /**
     * 业务ID：当scene_type=LESSON时为课程ID，当scene_type=PLAN时为培训计划ID
     */
    @NotNull
    private Long businessId;

    private Long trainingId;

    private Long courseId;

    private Long examId;

    @NotNull
    private String userId;

    private String userName;

    @NotNull
    private Long signatureOssId;

    @NotNull
    private List<TrainingAnswerRecordBo> answers;

}
