Browse Source

git-svn-id: https://192.168.57.71/svn/jsgkj@1264 931142cf-59ea-a443-aa0e-51397b428577

ld_liqk 8 years ago
parent
commit
834c06fb7a
1 changed files with 16 additions and 0 deletions
  1. 16 0
      gkjsjy/trunk/src/com/xtframe/sec/common/SimplePageRequest.java

+ 16 - 0
gkjsjy/trunk/src/com/xtframe/sec/common/SimplePageRequest.java

@@ -44,4 +44,20 @@ public class SimplePageRequest {
 	public void setSort(String sort) {
 		this.sort = sort;
 	}
+	public SimplePageRequest(){
+		
+	}
+	public SimplePageRequest(int page, int rows){
+		this.page=page;
+		this.rows=rows;
+	}
+
+	@Override
+	public String toString() {
+		return "SimplePageRequest [page=" + page + ", rows=" + rows + ", sort=" + sort + ", order=" + order + "]";
+	}
+	public static void main(String[] args) {
+		SimplePageRequest s = new SimplePageRequest(1,10);
+		System.out.println(s.toString());
+	}
 }