Closed Neoyx closed 1 week ago
In the DepotEntity.toDepot() function, a depot is retrieved from a database depot object. I implemented a transaction, which fetches every storage where the depotId is equal to the id of the depot. These storages are then stored in a MutableList "storages" inside the depot.
Remark: Every storage of the depot is part of the list, not only the root storages. So also their childs are included. Is this as demanded?
==> Decided to replace depot by storage. The highest storage in the hierarchy with no parentId is then specified as the "depot".
Add depot to the database which embeds different storages with spaces.