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
@Setter
@Getter
public class FicheEnqueteUniteLogementResponse {

    private Long id;
    private float surface;
    private int nbrePiece;
    private int nbreHabitant;
    private int nbreMenage;
    private boolean enLocation;
    private float montantMensuelLoyer;
    private int nbreMoisEnLocation;
    private float montantLocatifAnnuelDeclare;
    private float surfaceLouee;
    private boolean sbee;
    private boolean soneb;
    private String numCompteurSbee;
    private String numCompteurSoneb;
    @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 Enquete enquete;
    private Personne personne;

    private FicheUniteLogementResponse uniteLogement;
    private List<FicheCaracteristiqueUniteLogementResponse> caracteristiqueUniteLogements;
    private List<Upload> uploads;

}
