mirror of
https://github.com/himool/HimoolERP.git
synced 2024-11-15 20:06:43 +08:00
27 lines
521 B
Python
27 lines
521 B
Python
from extensions.permissions import ModelPermission
|
|
|
|
|
|
class WarehousePermission(ModelPermission):
|
|
code = 'warehouse'
|
|
|
|
|
|
class ClientPermission(ModelPermission):
|
|
code = 'client'
|
|
|
|
|
|
class SupplierPermission(ModelPermission):
|
|
code = 'supplier'
|
|
|
|
|
|
class AccountPermission(ModelPermission):
|
|
code = 'account'
|
|
|
|
|
|
class ChargeItemPermission(ModelPermission):
|
|
code = 'charge_item'
|
|
|
|
|
|
__all__ = [
|
|
'WarehousePermission', 'ClientPermission', 'SupplierPermission', 'AccountPermission',
|
|
'ChargeItemPermission',
|
|
]
|