package jnpf.model.cultivate.resp;

import jnpf.model.cultivate.po.paper.FtbCultivateTestPaper;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 能否被删除对象
 */
@Data
@NoArgsConstructor
@Builder
public class QuestionCanDeleteMsg {

    /**
     * 是否可以被删除 true 可以被删除， false不能被删除
     */
    private Boolean canDelete;

    /**
     * 提示
     */
    private String msg;

    /**
     * 相关数据
     */
    private List<RecordPaperAndExam> data;

    public QuestionCanDeleteMsg(Boolean canDelete, String msg) {
        this.canDelete = canDelete;
        this.msg = msg;
    }

    public QuestionCanDeleteMsg(Boolean canDelete, String msg, List<RecordPaperAndExam> data) {
        this.canDelete = canDelete;
        this.msg = msg;
        this.data = data;
    }
}
