HimoolERP/apps/goods/schemas.py
2021-12-20 00:30:37 +08:00

18 lines
344 B
Python

from extensions.serializers import *
class NumberResponse(Serializer):
number = CharField(label='编号')
class DownloadResponse(Serializer):
file = FileField(label='Excel文件')
class UploadRequest(Serializer):
file = FileField(label='Excel文件')
__all__ = [
'NumberResponse', 'DownloadResponse', 'UploadRequest',
]