mirror of
https://github.com/himool/HimoolERP.git
synced 2026-01-15 22:04:27 +08:00
19 lines
447 B
Python
19 lines
447 B
Python
from rest_framework.pagination import PageNumberPagination
|
|
|
|
|
|
class PurchaseOrderPagination(PageNumberPagination):
|
|
page_size = 15
|
|
page_query_param = 'page'
|
|
max_page_size = 15
|
|
|
|
|
|
class ChangeRecordPagination(PageNumberPagination):
|
|
page_size = 20
|
|
page_query_param = 'page'
|
|
max_page_size = 20
|
|
|
|
|
|
class PurchasePaymentRecordPagination(PageNumberPagination):
|
|
page_size = 10
|
|
page_query_param = 'page'
|
|
max_page_size = 10
|