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

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

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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "Object aggregation of different stats for a specific dossier template.")
public class DossierTemplateDictionaryStats {

    @Schema(description = "The ID of the dossier template")
    private String dossierTemplateId;

    @Schema(description = "The number of types for the dossier template")
    private int numberOfDictionaries;

    @Schema(description = "The summary list for every type of the dossier template")
    @Builder.Default
    private List<DictionarySummary> dictionarySummaryList = new ArrayList<>();

}
