Fixiaobai
2023-08-30 d60b23554cb6f60c53df25d98cec4596421a59ab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.yuanchu.limslaboratory.pojo.Dto;
 
import lombok.Data;
 
import java.io.Serializable;
import java.util.List;
 
/**
 * @Author 张宾
 * @Date 2023/8/21
 */
@Data
public class SeriesDto implements Serializable {
 
    private String name;
    private List<Double> data;
    private String type;
    //private String stack;
 
    public SeriesDto(String name, List<Double> data) {
        this.name = name;
        this.data = data;
        this.type = "bar";
        //this.stack = "x";
    }
 
    public SeriesDto(String name) {
        this.name = name;
        this.type = "bar";
        //this.stack = "x";
    }
}