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

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;

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

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

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

    @NonNull
    private String type;

    @NonNull
    private String value;

    @Builder.Default
    private boolean caseSensitive = true;

    @NonNull
    private String reason;

    private String legalBasis;

    private String section;

    private boolean rectangle;

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

    @Builder.Default
    private Set<Integer> pageNumbers = Collections.emptySet();

    private String comment;

}
