EasyUIDataGridResult用于返回EasyUI的分页数据,类似以下形式
{total:”2”,rows:[{“id”:”1”,”name”,”张三”},{“id”:”2”,”name”,”李四”}]}
具体代码如下
package com.codingwhy.pojo; import java.util.List; public class EasyUIDataGridResult { private long total; private List<?> rows; public long getTotal() { return total; } public void setTotal(long total) { this.total = total; } public List<?> getRows() { return rows; } public void setRows(List<?> rows) { this.rows = rows; } }
以下是代码所在路径的截图