Rapsys\TreeBundle\Entity\Album: type: entity #repositoryClass: Rapsys\TreeBundle\Repository\AlbumRepository table: albums id: id: type: integer generator: strategy: AUTO options: unsigned: true fields: path: type: string length: 4096 nullable: true title: type: string length: 64 nullable: true slug: type: string length: 64 unique: true nullable: true created: type: datetime updated: type: datetime oneToMany: resources: targetEntity: Rapsys\TreeBundle\Entity\Resource mappedBy: album lifecycleCallbacks: preUpdate: ['preUpdate']