package io.gmss.fiscad.paylaods.response;

import lombok.Data;

@Data
public class SyncResponse {
    private Long idBackend;
    private Long externalKey;
    private boolean synchronise;
    private String observation;

    public SyncResponse(Long idBackend, Long externalKey, boolean synchronise, String observation) {
        this.idBackend = idBackend;
        this.externalKey = externalKey;
        this.synchronise = synchronise;
        this.observation = observation;
    }

    public SyncResponse() {
    }

    @Override
    public String toString() {
        return "SyncResponse{" +
                "idBackend=" + idBackend +
                ", externalKey=" + externalKey +
                ", synchronise=" + synchronise +
                ", observation='" + observation + '\'' +
                '}';
    }

}

