feat: deal product services

This commit is contained in:
2024-05-13 07:46:13 +03:00
parent e9aec10feb
commit be650aca74
10 changed files with 136 additions and 10 deletions

View File

@@ -38,3 +38,12 @@ class PaginationSchema(CustomModelCamel):
class PaginationInfoSchema(CustomModelCamel):
total_pages: int
total_items: int
class BaseEnumSchema(CustomModelCamel):
id: int
name: str
class BaseEnumListSchema(CustomModelCamel):
items: list[BaseEnumSchema]