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

import dev.lions.unionflow.server.api.dto.base.BaseResponse;
import dev.lions.unionflow.server.api.enums.document.TypeDocument;
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 document.
 *
 * @author UnionFlow Team
 * @version 1.0
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DocumentResponse extends BaseResponse {

    private String nomFichier;
    private String nomOriginal;
    private String cheminStockage;
    private String typeMime;
    private Long tailleOctets;
    private TypeDocument typeDocument;
    private String hashMd5;
    private String hashSha256;
    private String description;
    private Integer nombreTelechargements;
    private String tailleFormatee;
}
