package com.erp.report.export.dto;

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

import java.time.LocalDateTime;
import java.util.Map;

/**
 * 导出历史记录响应
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ExportHistoryResponse {

    private Long id;

    private ExportType type;

    private ExportFormat format;

    private String filename;

    private Long fileSize;

    private String fileSizeFormatted;

    private Integer rowCount;

    private ExportStatus status;

    private String errorMsg;

    private Map<String, Object> filters;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
