package io.gmss.fiscad.paylaods.response.FicheResponse;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.gmss.fiscad.deserializer.LocalDateDeserializer;
import io.gmss.fiscad.entities.infocad.metier.Upload;
import io.gmss.fiscad.entities.infocad.parametre.Personne;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.util.List;


@Data
@Getter
@Setter
public class FicheEnqueteBatimentResponse {
    private Long id;
    private float surfaceAuSol;
    private String autreMenuisierie;
    private String autreMur;
    private boolean sbee;
    private String numCompteurSbee;
    private boolean soneb;
    private String numCompteurSoneb;
    private int nbreLotUnite;
    private int nbreUniteLocation;
    private float surfaceLouee;
    private int nbreMenage;
    private int nbreHabitant;
    private float valeurMensuelleLocation;
    private int nbreMoisLocation;
    private String autreCaracteristiquePhysique;
    @JsonFormat(pattern = "dd-MM-yyyy")
    @JsonDeserialize(using = LocalDateDeserializer.class)
    private LocalDate dateDebutExcemption;
    @JsonFormat(pattern = "dd-MM-yyyy")
    @JsonDeserialize(using = LocalDateDeserializer.class)
    private LocalDate dateFinExcemption;
    private Personne personne;
    //private Enquete enquete;
    private FicheBatimentResponse batiment;
    private List<FicheCaracteristiqueBatimentResponse> caracteristiqueBatiments;
    private List<Upload> uploads;
}
