package com.ruoyi.school.paper.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 试卷答题记录
 * <p>created in  2023/7/21 18:59
 *
 * @author WangMin
 * @version 1.0
 */
@Data
public class TestPaperAnswerBo {
    /**
     * 记录ID
     */
    @NotNull(message = "记录id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long recordId;

    /**
     * 考生作答内容
     */
    private List<TestPaperAnswerItemBo> answers;
}
