HimoolERP/apps/statistic/permissions.py
2021-12-29 02:07:37 +08:00

32 lines
701 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 ProfitTrendPermission(ModelPermission):
code = 'profit_trend'
class FinanceStatisticPermission(ModelPermission):
code = 'finance_statistic'
__all__ = [
'PurchaseReportPermission', 'SalesReportPermission',
'SalesHotGoodsPermission', 'SalesTrendPermission',
'ProfitTrendPermission', 'FinanceStatisticPermission',
]