package com.ruoyi.hezhi.domain.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 我的收藏题目对象 tb_member_subject_collect
 *
 * @author ruoyi
 * @date 2024-11-07
 */
@Getter
@Setter
@ToString
public class MemberSubjectCollectDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 发送验证码 */
    public interface subjectCollectOrCancelCollect{}

    /** 我的题目主键ID */
    private Long memberSubjectCollectId;

    /** 用户ID */
    @NotNull(message = "请先登录", groups = {subjectCollectOrCancelCollect.class})
    private Long memberUserId;

    /** 题目ID */
    @NotNull(message = "缺少题目ID", groups = {subjectCollectOrCancelCollect.class})
    private Long examSubjectId;

    /** 练习类型（1-顺序练习，2-专项练习，3-章节练习，4-随机练习） */
    private Integer practiceType;

    /** 序号 */
    private Long location;

    /** 课程ID */
    private Long courseId;

}
