HimoolERP/apps/goods/permissions.py

19 lines
339 B
Python
Raw Normal View History

2021-11-04 23:49:56 +08:00
from extensions.permissions import InterfacePermission
2021-11-09 23:17:54 +08:00
class GoodsPermission(InterfacePermission):
code = 'goods'
class BatchPermission(InterfacePermission):
code = 'batch'
2021-11-04 23:49:56 +08:00
2021-11-09 23:17:54 +08:00
class InventoryPermission(InterfacePermission):
code = 'inventory'
__all__ = [
'GoodsPermission', 'BatchPermission', 'InventoryPermission',
2021-11-04 23:49:56 +08:00
]