package com.iqser.red.service.persistence.service.v1.api.shared.model.redactionlog;

import java.util.ArrayList;
import java.util.List;

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

@Deprecated(forRemoval = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RedactionLog {

    /**
     * Version 0 Redaction Logs have manual redactions merged inside them
     * Version 1 Redaction Logs only contain system ( rule/dictionary ) redactions. Manual Redactions are merged in at runtime.
     */
    private long analysisVersion;

    /**
     * Which analysis created this redactionLog.
     */
    private int analysisNumber;

    private List<RedactionLogEntry> redactionLogEntry = new ArrayList<>();
    private List<RedactionLogLegalBasis> legalBasis = new ArrayList<>();

    private long dictionaryVersion = -1;
    private long dossierDictionaryVersion = -1;
    private long rulesVersion = -1;
    private long legalBasisVersion = -1;

}
