package market.Qms.common;
import java.io.Serializable;
public class ReturnMsg<T> implements Serializable{
		/**
		 * 是否成功
		 */
		private boolean Success;
		/**
		 * 返回信息
		 */
		private String message;

		/**
		 * 当前页
		 */
		private int pageIndex;
		
		/**
		 * 页数据量
		 */
		private int pageSize;
		
		/**
		 * 总条数
		 */
		private int total;

		/**
		 * 返回对象
		 */
		private T result;
		
		public int getTotal() {
			return total;
		}

		public void setTotal(int total) {
			this.total = total;
		}

/*		public int getPageCount() {
			return pageCount;
		}

		public void setPageCount(int pageCount) {
			this.pageCount = pageCount;
		}*/

		public int getPageIndex() {
			return pageIndex;
		}

		public void setPageIndex(int pageIndex) {
			this.pageIndex = pageIndex;
		}

		public int getPageSize() {
			return pageSize;
		}

		public void setPageSize(int pageSize) {
			this.pageSize = pageSize;
		}
		
		public boolean isSuccess() {
			return Success;
		}
		public void setSuccess(boolean isSuccess) {
			this.Success = isSuccess;
		}
		public String getMessage() {
			return message;
		}
		public void setMessage(String resultCode) {
			this.message = resultCode;
		}
		public T getResult() {
			return result;
		}
		public void setResult(T result) {
			this.result = result;
		}
}

