package com.salesmanager.core.model.common;

import java.io.Serializable;

public class EntityList implements Serializable {
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//private int totalCount;
	private long totalCount;
	private int totalPages;
	
/*	public int getTotalCount() {
		return totalCount;
	}*/
/*	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}*/
	public int getTotalPages() {
		return totalPages == 0 ? totalPages+1:totalPages;
	}
	public void setTotalPages(int totalPage) {
		this.totalPages = totalPage;
	}
	public long getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}

}
