]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/config/doctrine/Keyword.orm.yml
Use entity id as last resort sorting parameter
[blogbundle] / Resources / config / doctrine / Keyword.orm.yml
1 Rapsys\BlogBundle\Entity\Keyword:
2 type: entity
3 repositoryClass: Rapsys\BlogBundle\Repository\KeywordRepository
4 table: keywords
5 id:
6 id:
7 type: integer
8 generator:
9 strategy: AUTO
10 options:
11 unsigned: true
12 fields:
13 created:
14 type: datetime
15 updated:
16 type: datetime
17 manyToMany:
18 articles:
19 targetEntity: Rapsys\BlogBundle\Entity\Article
20 mappedBy: keywords
21 oneToMany:
22 keyword_translations:
23 targetEntity: Rapsys\BlogBundle\Entity\KeywordTranslation
24 mappedBy: keyword
25 lifecycleCallbacks:
26 preUpdate: ['preUpdate']