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_major
 *
 * @author ruoyi
 * @date 2024-11-29
 */
@Getter
@Setter
@ToString
public class MemberMajorDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 用户新增题库专业 */
    public interface insertMemberMajor{}

    /** 用户题库专业主键ID */
    private Long memberMajorId;

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

    /** 专业ID */
    @NotNull(message = "缺少majorId", groups = {insertMemberMajor.class})
    private Long majorId;

    /** 课程ID */
    @NotNull(message = "缺少courseId", groups = {insertMemberMajor.class})
    private Long courseId;

}
