]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/config/doctrine/LanguageTranslation.orm.yml
Add user entity
[blogbundle] / Resources / config / doctrine / LanguageTranslation.orm.yml
1 Rapsys\BlogBundle\Entity\LanguageTranslation:
2 type: entity
3 repositoryClass: Rapsys\BlogBundle\Repository\LanguageTranslationRepository
4 table: languages_translations
5 id:
6 language_id:
7 type: smallint
8 options:
9 unsigned: true
10 target_id:
11 type: smallint
12 options:
13 unsigned: true
14 fields:
15 title:
16 type: string
17 length: 128
18 created:
19 type: datetime
20 updated:
21 type: datetime
22 manyToOne:
23 language:
24 targetEntity: Rapsys\BlogBundle\Entity\Language
25 inversedBy: language_translations
26 target:
27 targetEntity: Rapsys\BlogBundle\Entity\Language
28 inversedBy: target_translations