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<Long> data;
| private String type;
| private String stack;
|
| public SeriesDto(String name, List<Long> 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";
| }
| }
|
|