mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-13 02:38:34 +01:00
Cache the tree nodes list generated for StructuralEntityType.
This commit is contained in:
@@ -72,6 +72,8 @@ use Symfony\Component\Serializer\Annotation\Groups;
|
||||
*
|
||||
* @ORM\MappedSuperclass(repositoryClass="App\Repository\StructuralDBElementRepository")
|
||||
*
|
||||
* @ORM\EntityListeners({"App\Security\EntityListeners\ElementPermissionListener", "App\EntityListeners\TreeCacheInvalidationListener"})
|
||||
*
|
||||
* @UniqueEntity(fields={"name", "parent"}, ignoreNull=false, message="structural.entity.unique_name")
|
||||
*/
|
||||
abstract class StructuralDBElement extends AttachmentContainingDBElement
|
||||
|
||||
Reference in New Issue
Block a user