13 lines
570 B
Python
13 lines
570 B
Python
from televend_core.databases.base_load_options import LoadOptions
|
|
from televend_core.databases.common.load_options import joinload
|
|
from televend_core.databases.televend_repositories.cashbag_conform.model import CashBagConform
|
|
|
|
|
|
class CashBagConformLoadOptions(LoadOptions):
|
|
model_cls = CashBagConform
|
|
|
|
load_cashflow_collection: bool = joinload(relations=["cashflow_collection"])
|
|
load_machine: bool = joinload(relations=["machine"])
|
|
load_cashbag: bool = joinload(relations=["cashbag"])
|
|
load_denominations: bool = joinload(relations=["denominations"])
|