package ru.nbch.credit_tracker.entities.user_response.errors;

import jakarta.xml.bind.annotation.*;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MonitoringErrorResponse", propOrder = {
        "status",
        "errorCode",
        "errorText"
})
@XmlRootElement(name = "MonitoringErrorResponse")
public class MonitoringError implements CommonError {

    @XmlElement(name = "Status", required = true)
    protected String status;
    @XmlElement(name = "ErrorCode",required = true)
    protected String errorCode;
    @XmlElement(name = "ErrorText",required = true)
    protected String errorText;

}
