]> Raphaƫl G. Git Repositories - treebundle/blob - config/doctrine/Album.orm.yml
Remove document route
[treebundle] / config / doctrine / Album.orm.yml
1 Rapsys\TreeBundle\Entity\Album:
2 type: entity
3 repositoryClass: Rapsys\TreeBundle\Repository\AlbumRepository
4 table: albums
5 id:
6 id:
7 type: integer
8 generator:
9 strategy: AUTO
10 options:
11 unsigned: true
12 fields:
13 path:
14 type: string
15 length: 4096
16 unique: true
17 nullable: true
18 slug:
19 type: string
20 length: 64
21 unique: true
22 nullable: true
23 created:
24 type: datetime
25 updated:
26 type: datetime
27 oneToMany:
28 assets:
29 targetEntity: Rapsys\TreeBundle\Entity\Asset
30 mappedBy: album
31 lifecycleCallbacks:
32 preUpdate: ['preUpdate']