package com.ssj.service.conch.parents.v2.request;

import com.ssj.service.conch.parents.v2.dto.KnowledgePointMasteryDTO;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author yrf
 * @description
 * @time 2019/9/18 15:29
 */
public class TrainRecommendQuestionReq implements Serializable {

    private static final long serialVersionUID = -3890908543743538978L;

    @ApiModelProperty(name = "knowledgePointMasteryList", value = "知识点掌握情况列表", required = true)
    @NotEmpty
    private List<KnowledgePointMasteryDTO> knowledgePointMasteryList;

    @ApiModelProperty(name = "type", value = "查询类型(1夯实基础，2同步提高)", required = true)
    @NotNull
    @Min(1)
    @Max(2)
    private Integer type;

    public List<KnowledgePointMasteryDTO> getKnowledgePointMasteryList() {
        return knowledgePointMasteryList;
    }

    public void setKnowledgePointMasteryList(List<KnowledgePointMasteryDTO> knowledgePointMasteryList) {
        this.knowledgePointMasteryList = knowledgePointMasteryList;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
