@Validated @Generated(value="io.swagger.codegen.languages.SeiyaSpringCodegen", date="2019-08-11T19:23:20.437+08:00") public class PageInfo extends Object
| Constructor and Description |
|---|
PageInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static PageInfo |
fromString(String json)
Convert the given JSON string to object of class
PageInfo. |
Integer |
getPageNo()
当前页码,从1开始,默认为1
|
Integer |
getPageSize()
每页数量,默认为30
|
int |
hashCode() |
void |
setPageNo(Integer pageNo) |
void |
setPageSize(Integer pageSize) |
String |
toString() |
PageInfo |
withPageNo(Integer pageNo) |
PageInfo |
withPageSize(Integer pageSize) |
public Integer getPageNo()
public void setPageNo(Integer pageNo)
public Integer getPageSize()
public void setPageSize(Integer pageSize)
public static PageInfo fromString(String json) throws IOException
PageInfo.IOExceptionCopyright © 2019. All rights reserved.