package com.chulung.blog.dto;

public class PageIn<T> {
	private int page;
	private int pageSize;
	private T record;

	public PageIn() {
	}

	public PageIn(int page, int pageSize, T record) {
		super();
		this.page = page;
		this.pageSize = pageSize;
	}

	public int getPage() {
		return page <= 0 ? 1 : page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getPageSize() {
		return pageSize <= 0 ? 20 : pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize <= 0 ? 20 : pageSize;
	}

	public T getRecord() {
		return record;
	}

	public void setRecord(T record) {
		this.record = record;
	}

}

@@ -236,32 +236,54 @@
 ize = pageSize;%0A
+%09%09this.record=record;%0A
 %09%7D%0A%0A%09public int 

fix NullPoint