package com.dacrt.SBIABackend.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class ScenaryValueItemDto {
    private String label;
    private Integer value;
    private String color;
    private List<ScenaryValueItemDto> values; // Soporta anidamientos recursivos como Exposición

    public ScenaryValueItemDto() {}
    
    // Constructor rápido para elementos estándar
    public ScenaryValueItemDto(String label, Integer value, String color) {
        this.label = label;
        this.value = value;
        this.color = color;
    }

    public String getLabel() { return label; }
    public void setLabel(String label) { this.label = label; }
    public Integer getValue() { return value; }
    public void setValue(Integer value) { this.value = value; }
    public String getColor() { return color; }
    public void setColor(String color) { this.color = color; }
    public List<ScenaryValueItemDto> getValues() { return values; }
    public void setValues(List<ScenaryValueItemDto> values) { this.values = values; }
}