'Create a pagination.
:param total: the total count of the results
:param size: the page size of each page
:param current: the current page number, 1-based'

def __init__(self, total, size, current):

    self.total = total
    self.size = size
    self.current = current
