package com.sc.sicanet.migracion_sicanet.response;

import java.util.List;

public class StandardResponse {
    private int code;
    private String message;
    private String referenciaAcreditado;
    private String nombreAcreditado;
    private List<ErrorResponse> errores;
    private String uuidDomicilioPersonal;
    private String uuidDomicilioLaboral;

    public StandardResponse(int code, String message, String referenciaAcreditado, String nombreAcreditado, String uuidDomicilioPersonal, String uuidDomicilioLaboral) {
        this.code = code;
        this.message = message;
        this.referenciaAcreditado = referenciaAcreditado;
        this.nombreAcreditado = nombreAcreditado;
        this.errores = null;
        this.uuidDomicilioPersonal = uuidDomicilioPersonal;
        this.uuidDomicilioLaboral = uuidDomicilioLaboral;
    }

    public StandardResponse(int code, String message, List<ErrorResponse> errores) {
        this.code = code;
        this.message = message;
        this.referenciaAcreditado = null;
        this.nombreAcreditado = null;
        this.errores = errores;
    }

    public String getUuidDomicilioPersonal() {
        return uuidDomicilioPersonal;
    }

    public void setUuidDomicilioPersonal(String uuidDomicilioPersonal) {
        this.uuidDomicilioPersonal = uuidDomicilioPersonal;
    }

    public String getUuidDomicilioLaboral() {
        return uuidDomicilioLaboral;
    }

    public void setUuidDomicilioLaboral(String uuidDomicilioLaboral) {
        this.uuidDomicilioLaboral = uuidDomicilioLaboral;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getReferenciaAcreditado() {
        return referenciaAcreditado;
    }

    public void setReferenciaAcreditado(String referenciaAcreditado) {
        this.referenciaAcreditado = referenciaAcreditado;
    }

    public String getNombreAcreditado() {
        return nombreAcreditado;
    }

    public void setNombreAcreditado(String nombreAcreditado) {
        this.nombreAcreditado = nombreAcreditado;
    }

    public List<ErrorResponse> getErrores() {
        return errores;
    }

    public void setErrores(List<ErrorResponse> errores) {
        this.errores = errores;
    }
}
