Spaces:
Build error
Build error
| package com.dalab.autocompliance.dto; | |
| import lombok.Builder; | |
| import lombok.Data; | |
| import lombok.NoArgsConstructor; | |
| import lombok.AllArgsConstructor; | |
| import java.time.LocalDateTime; | |
| /** | |
| * DTO for representing the status of a compliance report generation job. | |
| */ | |
| public class ReportJobStatusDTO { | |
| private String jobId; | |
| private String reportType; | |
| private String status; // e.g., QUEUED, PROCESSING, COMPLETED_SUCCESS, COMPLETED_FAILURE, NOT_FOUND | |
| private LocalDateTime submittedAt; | |
| private LocalDateTime startedAt; | |
| private LocalDateTime completedAt; | |
| private String message; // e.g., "Processing started", "Report generated successfully", "Failed due to: ..." | |
| private String reportId; // ID of the generated report if completed successfully | |
| private String downloadLink; // Link to download the report if applicable | |
| } |