@@ -0,0 +1,578 @@
+package com.github.aureliano.edocs.common.persistence;%0A%0Apublic class DataPagination%3CT%3E %7B%0A%0A%09private IEntity entity;%0A%09private Integer offset;%0A%09private Integer limit;%0A%09%0A%09public DataPagination() %7B%7D%0A%0A%09public IEntity getEntity() %7B%0A%09%09return entity;%0A%09%7D%0A%0A%09public DataPagination%3CT%3E withEntity(IEntity entity) %7B%0A%09%09this.entity = entity;%0A%09%09return this;%0A%09%7D%0A%0A%09public Integer getOffset() %7B%0A%09%09return offset;%0A%09%7D%0A%0A%09public void setOffset(Integer offset) %7B%0A%09%09this.offset = offset;%0A%09%7D%0A%0A%09public Integer getLimit() %7B%0A%09%09return limit;%0A%09%7D%0A%0A%09public void setLimit(Integer limit) %7B%0A%09%09this.limit = limit;%0A%09%7D%0A%7D

Create data pagination object.