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

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

import com.iqser.red.service.persistence.service.v1.api.shared.model.annotations.Rectangle;
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;
import lombok.NonNull;

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

    @NonNull
    private String type;

    @NonNull
    private String value;

    @NonNull
    private String reason;

    private String legalBasis;

    private boolean addToDictionary;
    private boolean addToAllDossiers;

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

    private AddCommentRequestModel comment;

    private boolean forceAddToDictionary;

    private String section;

    private boolean rectangle;

    private String sourceId;

    private DictionaryEntryType dictionaryEntryType;

}
