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

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "name",
        "description"
})
public class Error {

    @XmlElement(name = "name", required = true)
    protected String name;
    @XmlElement(name = "description", required = true)
    protected String description;
}
