]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/config/doctrine/Article.orm.yml
Add user entity
[blogbundle] / Resources / config / doctrine / Article.orm.yml
1 Rapsys\BlogBundle\Entity\Article:
2 type: entity
3 repositoryClass: Rapsys\BlogBundle\Repository\ArticleRepository
4 table: articles
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 manyToOne:
18 site:
19 targetEntity: Rapsys\BlogBundle\Entity\Site
20 inversedBy: articles
21 author:
22 targetEntity: Rapsys\BlogBundle\Entity\Author
23 inversedBy: articles
24 manyToMany:
25 keywords:
26 targetEntity: Rapsys\BlogBundle\Entity\Keyword
27 inversedBy: articles
28 joinTable:
29 name: articles_keywords
30 oneToMany:
31 article_translations:
32 targetEntity: Rapsys\BlogBundle\Entity\ArticleTranslation
33 mappedBy: article