lavkach3
1from app.inventory.quant.models import Quant, Lot
2from app.inventory.quant.schemas import QuantCreateScheme, QuantUpdateScheme, QuantFilter, QuantScheme, LotCreateScheme, \
3LotUpdateScheme, LotFilter, LotScheme
4
5from app.inventory.quant.services import QuantService, LotService
6
7__domain__ = {
8'quant': {
9'service': QuantService,
10'model': Quant,
11'schemas': {
12'create': QuantCreateScheme,
13'update': QuantUpdateScheme,
14'filter': QuantFilter,
15'get': QuantScheme
16}
17},
18'lot': {
19'service': LotService,
20'model': Lot,
21'schemas': {
22'create': LotCreateScheme,
23'update': LotUpdateScheme,
24'filter': LotFilter,
25'get': LotScheme
26}
27}
28}
29__all__ = ['__domain__']
30