package com.njcn.gather.steady.datavie.pojo.vo;

import com.njcn.gather.steady.datavie.pojo.bo.SteadyTrendSeriesFieldBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 稳态趋势指标树节点。
 */
@Data
@ApiModel("稳态趋势指标树节点")
public class SteadyDataViewIndicatorNodeVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String parentId;

    private String name;

    private String groupCode;

    private String indicatorCode;

    private String tableName;

    private List<String> phaseCodes = new ArrayList<String>();

    private List<SteadyTrendSeriesFieldBO> seriesFields = new ArrayList<SteadyTrendSeriesFieldBO>();

    private List<String> supportStats = new ArrayList<String>();

    private Boolean harmonic = false;

    private Integer harmonicOrderStart;

    private Integer harmonicOrderEnd;

    private String unit;

    @ApiModelProperty("是否可选")
    private Boolean selectable = false;

    private List<SteadyDataViewIndicatorNodeVO> children = new ArrayList<SteadyDataViewIndicatorNodeVO>();
}
