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

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.math.BigDecimal;
import java.util.UUID;

/**
 * Miroir local du record {@code ComplianceSnapshot} backend (P1-NEW-7).
 * @since 2026-04-25 (Sprint 8)
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public record ComplianceSnapshotDto(
    UUID organisationId,
    String organisationNom,
    String referentielComptable,
    boolean complianceOfficerDesigne,
    ConformiteIndicateurDto agAnnuelle,
    ConformiteIndicateurDto rapportAirms,
    int dirigeantsAvecCmu,
    BigDecimal tauxKycAJourPct,
    BigDecimal tauxFormationLbcFtPct,
    ConformiteIndicateurDto commissaireAuxComptes,
    ConformiteIndicateurDto fomusCi,
    BigDecimal couvertureUboPct,
    int scoreGlobal
) {
  @JsonIgnoreProperties(ignoreUnknown = true)
  public record ConformiteIndicateurDto(String statut, String message) {}
}
