package com.example.myapplication.model; import java.util.List; public class PageResult { private int code; private String msg; private List rows; public int getCode() { return code; } public void setCode(int code) { this.code = code; } public String getMsg() { return msg; } public PageResult() { } public void setMsg(String msg) { this.msg = msg; } public List getRows() { return rows; } public void setRows(List rows) { this.rows = rows; } public long getTotal() { return total; } public void setTotal(long total) { this.total = total; } public PageResult(int code, String msg, List rows, long total) { this.code = code; this.msg = msg; this.rows = rows; this.total = total; } private long total; }