package com.iqser.red.service.persistence.management.v1.processor.migration.migrations.model.reducetext;

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

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

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

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

    private int sectionNumber;
    private String text;

    private boolean isTable;
    private String headline;

    @Builder.Default
    private List<SectionArea> sectionAreas = new ArrayList<>();
    @Builder.Default
    private Set<Image> images = new HashSet<>();

    @Builder.Default
    private List<TextBlock> textBlocks = new ArrayList<>();
    @Builder.Default
    private Map<String, CellValue> tabularData = new HashMap<>();
    @Builder.Default
    private List<Integer> cellStarts = new ArrayList<>();

}
