package com.bcxin.Infrastructures.exceptions;

import com.bcxin.Infrastructures.models.AbnormalPersonnelListDto;

import java.util.List;

public class AbnormalPersonnelException extends TenantExceptionAbstract {

    private String code;

    private List<AbnormalPersonnelListDto> exceptionList;

    public AbnormalPersonnelException(String code, String msg, List<AbnormalPersonnelListDto> exceptionList) {
        super(msg);
        this.code = code;
        this.exceptionList = exceptionList;
    }

    public String getCode() {
        return code;
    }

    public List<AbnormalPersonnelListDto> getExceptionList() {
        return exceptionList;
    }
}
