package dev.lions.unionflow.server.api.dto.solidarite.response;

import dev.lions.unionflow.server.api.dto.base.BaseResponse;
import dev.lions.unionflow.server.api.dto.solidarite.PieceJustificativeDTO;
import java.time.LocalDateTime;
import java.util.List;
import java.util.UUID;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Réponse pour un commentaire sur une aide.
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommentaireAideResponse extends BaseResponse {

    private String contenu;
    private String typeCommentaire;
    private UUID auteurId;
    private String auteurNom;
    private String auteurRole;
    private Boolean estPrive;
    private Boolean estImportant;
    private UUID commentaireParentId;
    private List<CommentaireAideResponse> reponses;
    private List<PieceJustificativeDTO> piecesJointes;
    private List<String> mentionsUtilisateurs;
    private Boolean estModifie;
    private Integer nombreReactions;
    private Boolean estResolu;
    private LocalDateTime dateResolution;
    private UUID resoluteurId;
}
