HimoolERP/apps/statistic/permissions.py
2022-03-07 16:23:36 +08:00

28 lines
602 B
Python

from extensions.permissions import ModelPermission
class PurchaseReportPermission(ModelPermission):
code = 'purchase_report'
class SalesReportPermission(ModelPermission):
code = 'sales_report'
class SalesHotGoodsPermission(ModelPermission):
code = 'sales_hot_goods'
class SalesTrendPermission(ModelPermission):
code = 'sales_trend'
class FinanceStatisticPermission(ModelPermission):
code = 'finance_statistic'
__all__ = [
'PurchaseReportPermission', 'SalesReportPermission',
'SalesHotGoodsPermission', 'SalesTrendPermission',
'FinanceStatisticPermission',
]