HimoolERP/apps/finance/permissions.py
2021-12-16 17:54:31 +08:00

23 lines
517 B
Python

from extensions.permissions import ModelPermission
class PaymentOrderPermission(ModelPermission):
code = 'payment_order'
class CollectionOrderPermission(ModelPermission):
code = 'collection_order'
class ChargeOrderPermission(ModelPermission):
code = 'charge_order'
class AccountTransferRecordPermission(ModelPermission):
code = 'account_transfer_record'
__all__ = [
'PaymentOrderPermission', 'CollectionOrderPermission',
'ChargeOrderPermission', 'AccountTransferRecordPermission',
]