forked from erp-dev/erp
feat: added print_count api, added merchant setting model, added manual mode setting for purchase order
This commit is contained in:
11
api_v1/enums.py
Normal file
11
api_v1/enums.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.db import models
|
||||
|
||||
|
||||
class PrintCountObjectType(models.TextChoices):
|
||||
PRINTING_ORDER = 'printing_order', '印染订单'
|
||||
PLATE_ORDER = 'plate_order', '开版订单'
|
||||
|
||||
@classmethod
|
||||
def values(cls):
|
||||
return [choice.value for choice in cls]
|
||||
|
||||
Reference in New Issue
Block a user