package quant.rich.emoney.entity.config;

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

import lombok.Data;
import lombok.experimental.Accessors;
import quant.rich.emoney.enums.StockSpan;

@Data
@Accessors(chain=true)
public class IndexInfo {
    
    private List<ParamInfo> paramInfoList = new ArrayList<>();
    
    private String code;
    
    private String name;
    
    private Boolean isCalc;
    
    private List<StockSpan> supportPeriod = new ArrayList<>();

    @Data
    @Accessors(chain=true)
    public static class ParamInfo {
        
        private String name;
        
        private Integer max;
        
        private Integer min;
        
        private Integer defaultValue;
        
    }

}
