public class LayuiPage extends Object
Constructor and Description |
---|
LayuiPage() |
LayuiPage(Collection<?> data,
long count) |
LayuiPage(int code) |
Modifier and Type | Method and Description |
---|---|
static LayuiPage |
fail() |
int |
getCode() |
long |
getCount() |
Collection<?> |
getData() |
String |
getMsg() |
static LayuiPage |
ok(Collection<?> data,
long count) |
void |
setCode(int code) |
void |
setCount(long count) |
void |
setData(Collection<Object> data) |
void |
setMsg(String msg) |
public LayuiPage()
public LayuiPage(Collection<?> data, long count)
public LayuiPage(int code)
public static LayuiPage fail()
public static LayuiPage ok(Collection<?> data, long count)
public int getCode()
public long getCount()
public Collection<?> getData()
public String getMsg()
public void setCode(int code)
public void setCount(long count)
public void setData(Collection<Object> data)
public void setMsg(String msg)
Copyright © 2021. All rights reserved.