from rest_framework.pagination import PageNumberPagination


class StandardPagination(PageNumberPagination):
    page_size = 30
    page_query_param = 'page'
    max_page_size = 100


class ProductPagination(PageNumberPagination):
    page_size = 8
    page_query_param = 'page'
    max_page_size = 100


class PublishedProductPagination(PageNumberPagination):
    page_size = 6
    page_query_param = 'page'
    max_page_size = 100
