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

import dev.lions.unionflow.server.api.dto.base.BaseResponse;
import dev.lions.unionflow.server.api.enums.comptabilite.TypeJournalComptable;
import java.time.LocalDate;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Réponse détaillée d'un journal comptable.
 *
 * @author UnionFlow Team
 * @version 1.0
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class JournalComptableResponse extends BaseResponse {

    private String code;
    private String libelle;
    private TypeJournalComptable typeJournal;
    private LocalDate dateDebut;
    private LocalDate dateFin;
    private String statut;
    private String description;
}
