36 lines
831 B
Python
36 lines
831 B
Python
"""
|
|
Marshmallow Schemas
|
|
|
|
This module contains Marshmallow schemas for request/response validation and serialization.
|
|
Schemas are implemented in separate files and imported here for easy access.
|
|
"""
|
|
|
|
from .category import (
|
|
CategorySchema,
|
|
CategoryCreateSchema,
|
|
CategoryUpdateSchema,
|
|
CategoryListSchema
|
|
)
|
|
|
|
from .transaction import (
|
|
TransactionSchema,
|
|
TransactionCreateSchema,
|
|
TransactionUpdateSchema,
|
|
TransactionListSchema,
|
|
TransactionFilterSchema,
|
|
DecimalField
|
|
)
|
|
|
|
# Export all schemas for easy importing
|
|
__all__ = [
|
|
'CategorySchema',
|
|
'CategoryCreateSchema',
|
|
'CategoryUpdateSchema',
|
|
'CategoryListSchema',
|
|
'TransactionSchema',
|
|
'TransactionCreateSchema',
|
|
'TransactionUpdateSchema',
|
|
'TransactionListSchema',
|
|
'TransactionFilterSchema',
|
|
'DecimalField'
|
|
]
|