package io.gmss.fiscad.paylaods.request;

import lombok.Data;

import java.time.LocalDate;

@Data
public class BatimentPaylaod {
    private Long idBackend;
    private Long externalKey;
    private Long terminalId;
    private boolean synchronise;
    private String nub;
    private String code;
    private LocalDate dateConstruction;
    private Long parcelleId;
    //private Long userId;
    private String observation;
    private Long enqueteId;

    @Override
    public String toString() {
        return "BatimentPaylaod{" +
                "idBackend=" + idBackend +
                ", externalKey=" + externalKey +
                ", terminalId=" + terminalId +
                ", synchronise=" + synchronise +
                ", nub='" + nub + '\'' +
                ", code='" + code + '\'' +
                ", dateConstruction=" + dateConstruction +
                ", parcelleId=" + parcelleId +
                ", observation='" + observation + '\'' +
                '}';
    }
}
