public class BaseModel extends Object
一般用于分页的baseModel
| 限定符和类型 | 字段和说明 |
|---|---|
protected Long |
current
当前页数 默认1
|
protected Date |
endTime
时间搜索结束
|
protected Long |
size
分页大小
|
protected Date |
startTime
时间搜索起止
|
| 构造器和说明 |
|---|
BaseModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
getCurrent() |
Date |
getEndTime() |
Long |
getSize() |
Date |
getStartTime() |
void |
setCurrent(Long current) |
void |
setEndTime(Date endTime) |
void |
setSize(Long size) |
void |
setStartTime(Date startTime) |
protected Long current
protected Long size
protected Date startTime
protected Date endTime
public Long getCurrent()
public void setCurrent(Long current)
public Long getSize()
public void setSize(Long size)
public Date getStartTime()
public void setStartTime(Date startTime)
public Date getEndTime()
public void setEndTime(Date endTime)
Copyright © 2020. All rights reserved.