mirror of
https://github.com/himool/HimoolERP.git
synced 2025-01-20 13:07:39 +08:00
23 lines
517 B
Python
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',
|
|
]
|