package com.erp.report.export.dto;

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

import java.time.LocalDateTime;

/**
 * 导出响应
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ExportResponse {

    private Long id;

    private String filename;

    private String filePath;

    private Long fileSize;

    private String fileSizeFormatted;

    private Integer rowCount;

    private ExportStatus status;

    private String errorMsg;

    private String downloadUrl;

    private LocalDateTime createdAt;

    private LocalDateTime completedAt;
}
