mirror of
https://github.com/wowlikon/LiB.git
synced 2026-02-04 12:31:09 +00:00
41 lines
1.1 KiB
Python
41 lines
1.1 KiB
Python
"""Модуль DTO-моделей"""
|
|
from .author import AuthorBase, AuthorCreate, AuthorList, AuthorRead, AuthorUpdate
|
|
from .genre import GenreBase, GenreCreate, GenreList, GenreRead, GenreUpdate
|
|
from .book import BookBase, BookCreate, BookList, BookRead, BookUpdate
|
|
from .role import RoleBase, RoleCreate, RoleList, RoleRead, RoleUpdate
|
|
from .user import UserBase, UserCreate, UserLogin, UserRead, UserUpdate
|
|
from .token import Token, TokenData
|
|
from .combined import (AuthorWithBooks, GenreWithBooks, BookWithAuthors, BookWithGenres,
|
|
BookWithAuthorsAndGenres, BookFilteredList)
|
|
|
|
__all__ = [
|
|
"AuthorBase",
|
|
"AuthorCreate",
|
|
"AuthorUpdate",
|
|
"AuthorRead",
|
|
"AuthorList",
|
|
"BookBase",
|
|
"BookCreate",
|
|
"BookUpdate",
|
|
"BookRead",
|
|
"BookList",
|
|
"BookFilteredList",
|
|
"GenreBase",
|
|
"GenreCreate",
|
|
"GenreUpdate",
|
|
"GenreRead",
|
|
"GenreList",
|
|
"RoleBase",
|
|
"RoleCreate",
|
|
"RoleUpdate",
|
|
"RoleRead",
|
|
"RoleList",
|
|
"Token",
|
|
"TokenData",
|
|
"UserBase",
|
|
"UserCreate",
|
|
"UserRead",
|
|
"UserUpdate",
|
|
"UserLogin",
|
|
]
|