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

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

import com.iqser.red.service.persistence.service.v1.api.shared.model.dossiertemplate.type.DictionaryEntryType;

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

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AddRedactionRequest implements ManualRequestWithAddToDictionary {

    private String user;
    private String dossierTemplateTypeId;
    private String value;
    private String reason;
    private String legalBasis;
    private boolean addToDictionary;
    private boolean addToAllDossiers;
    private DictionaryEntryType dictionaryEntryType;
    private AnnotationStatus status;
    private String section;
    private boolean rectangle;
    private String sourceId;
    private String dossierId;

    @Builder.Default
    private List<Rectangle> positions = new ArrayList<>();

    private String comment;

    private boolean forceAddToDictionary;

    private String textBefore;
    private String textAfter;

}
