package com.iqser.red.service.persistence.management.v1.processor.model.websocket;

import java.time.OffsetDateTime;

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

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AnalyseEvent {

    private String dossierId;
    private String fileId;
    private AnalyseStatus analyseStatus;
    private Integer analysisNumber;
    private OffsetDateTime timestamp;
    private int numberOfPagesToOCR;
    private int numberOfOCRedPages;

    public AnalyseEvent(String dossierId, String fileId, AnalyseStatus analyseStatus, Integer analysisNumber, OffsetDateTime timestamp) {
        this.dossierId = dossierId;
        this.fileId = fileId;
        this.analyseStatus = analyseStatus;
        this.analysisNumber = analysisNumber;
        this.timestamp = timestamp;
    }

}
