]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Location.orm.yml
Revert doctrine Resources/config/doctrine/*.orm.yaml files back to .orm.yml extension
[airbundle] / Resources / config / doctrine / Location.orm.yml
1 Rapsys\AirBundle\Entity\Location:
2 type: entity
3 #repositoryClass: Rapsys\AirBundle\Repository\LocationRepository
4 table: locations
5 id:
6 id:
7 type: integer
8 generator:
9 strategy: AUTO
10 options:
11 unsigned: true
12 fields:
13 title:
14 type: string
15 length: 24
16 address:
17 type: string
18 length: 32
19 zipcode:
20 type: string
21 length: 5
22 city:
23 type: string
24 length: 64
25 latitude:
26 type: decimal
27 precision: 8
28 scale: 6
29 longitude:
30 type: decimal
31 precision: 9
32 scale: 6
33 created:
34 type: datetime
35 updated:
36 type: datetime
37 oneToMany:
38 sessions:
39 targetEntity: Rapsys\AirBundle\Entity\Session
40 mappedBy: location
41
42 # manyToOne:
43 # title:
44 # targetEntity: Rapsys\UserBundle\Entity\Title
45 # inversedBy: users
46 # manyToMany:
47 # groups:
48 # targetEntity: Rapsys\UserBundle\Entity\Group
49 # inversedBy: users
50 # joinTable:
51 # name: groups_users
52 #
53 # manyToOne:
54 # site:
55 # targetEntity: Rapsys\BlogBundle\Entity\Site
56 # inversedBy: articles
57 # author:
58 # targetEntity: Rapsys\BlogBundle\Entity\Author
59 # inversedBy: articles
60 # manyToMany:
61 # keywords:
62 # targetEntity: Rapsys\BlogBundle\Entity\Keyword
63 # inversedBy: articles
64 # joinTable:
65 # name: articles_keywords
66 # oneToMany:
67 # article_translations:
68 # targetEntity: Rapsys\BlogBundle\Entity\ArticleTranslation
69 # mappedBy: article