]> Raphaƫl G. Git Repositories - treebundle/blob - config/doctrine/Resource.orm.yml
710be18183d3d519fc6c3da58aa6486da2d69d7c
[treebundle] / config / doctrine / Resource.orm.yml
1 Rapsys\TreeBundle\Entity\Resource:
2 type: entity
3 #repositoryClass: Rapsys\TreeBundle\Repository\ResourceRepository
4 table: resources
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 nullable: true
17 created:
18 type: datetime
19 updated:
20 type: datetime
21 manyToOne:
22 album:
23 targetEntity: Rapsys\TreeBundle\Entity\Album
24 inversedBy: resources
25 user:
26 targetEntity: Rapsys\TreeBundle\Entity\User
27 inversedBy: resources
28 lifecycleCallbacks:
29 preUpdate: ['preUpdate']