lavkach3
1from app.inventory.location.models import Location, LocationType
2from app.inventory.location.schemas import LocationCreateScheme, LocationUpdateScheme, LocationFilter, LocationScheme, \
3LocationTypeCreateScheme, LocationTypeUpdateScheme, LocationTypeFilter, LocationTypeScheme
4from app.inventory.location.services import LocationService, LocationTypeService
5
6__domain__ = {
7'location': {
8'service': LocationService,
9'model': Location,
10'schemas': {
11'create': LocationCreateScheme,
12'update': LocationUpdateScheme,
13'filter': LocationFilter,
14'get': LocationScheme
15}
16},
17'location_type': {
18'service': LocationTypeService,
19'model': LocationType,
20'schemas': {
21'create': LocationTypeCreateScheme,
22'update': LocationTypeUpdateScheme,
23'filter': LocationTypeFilter,
24'get': LocationTypeScheme
25}
26}
27
28}
29__all__ = ['__domain__']
30