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

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

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

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

    private Map<Integer, List<SectionRectangle>> rectanglesPerPage = new HashMap<>();

    private List<SectionGridSection> sections = new ArrayList<>();

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class SectionGridSection {

        private int sectionNumber;
        private String headline;
        private Set<Integer> pages;
        private List<SectionArea> sectionAreas;

    }

}
