com.github.naviit.libs.common.model.request.PageRequest Maven / Gradle / Ivy
/************************************************************************
* Copyright 2017 by DTT - All rights reserved. *
************************************************************************/
package com.github.naviit.libs.common.model.request;
import com.github.naviit.libs.common.util.JsonUtil;
/**
* Author: Dang Thanh Tung
* Email: [email protected]
* Created: 13/09/2017
*/
public class PageRequest {
private String keyword;
private String fromDate;
private String toDate;
private Integer pageNumber;
private Integer pageSize;
public PageRequest() {}
public String getKeyword() { return keyword; }
public void setKeyword(String keyword) { this.keyword = keyword; }
public String getFromDate() { return fromDate; }
public void setFromDate(String fromDate) { this.fromDate = fromDate; }
public String getToDate() { return toDate; }
public void setToDate(String toDate) { this.toDate = toDate; }
public Integer getPageNumber() { return pageNumber; }
public void setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; }
public Integer getPageSize() { return pageSize; }
public void setPageSize(Integer pageSize) { this.pageSize = pageSize; }
@Override
public String toString() {
return JsonUtil.toJson(this);
}
}