package dev.lions.unionflow.client.api.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * DTO received from the backend for the member dashboard synthesis.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MembreDashboardResponse implements Serializable {

    private String prenom;
    private String nom;
    private LocalDate dateInscription;

    // Cotisations
    private BigDecimal mesCotisationsPaiement;
    private String statutCotisations;
    private Integer tauxCotisationsPerso;

    // Epargne
    private BigDecimal monSoldeEpargne;
    private BigDecimal evolutionEpargneNombre;
    private String evolutionEpargne;
    private Integer objectifEpargne;

    // Evenements
    private Integer mesEvenementsInscrits;
    private Integer evenementsAVenir;
    private Integer tauxParticipationPerso;

    // Aides
    private Integer mesDemandesAide;
    private Integer aidesEnCours;
    private Integer tauxAidesApprouvees;
}
