public class TeacherChartDataVo { private String name;// bateacherName private List<Integer> data; private static String type = "line"; private static String stack = "Total"; } 比如:type 和stack 不会被返回。