]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/config/doctrine/AuthorTranslation.orm.yml
Add doctrine configuration
[blogbundle] / Resources / config / doctrine / AuthorTranslation.orm.yml
1 Rapsys\BlogBundle\Entity\AuthorTranslation:
2 type: entity
3 repositoryClass: Rapsys\BlogBundle\Repository\AuthorTranslationRepository
4 table: authors_translations
5 id:
6 author_id:
7 type: smallint
8 options:
9 unsigned: true
10 language_id:
11 type: smallint
12 options:
13 unsigned: true
14 fields:
15 description:
16 type: text
17 created:
18 type: datetime
19 updated:
20 type: datetime
21 manyToOne:
22 author:
23 targetEntity: Rapsys\BlogBundle\Entity\Author
24 inversedBy: author_translations
25 language:
26 targetEntity: Rapsys\BlogBundle\Entity\Language
27 inversedBy: language_translations