]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Location.orm.yml
0b276fa48130917269aecf75d05f3b32451787d8
[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: 32
16 short:
17 type: string
18 length: 16
19 address:
20 type: string
21 length: 32
22 zipcode:
23 type: string
24 length: 5
25 city:
26 type: string
27 length: 64
28 latitude:
29 type: decimal
30 precision: 8
31 scale: 6
32 longitude:
33 type: decimal
34 precision: 9
35 scale: 6
36 created:
37 type: datetime
38 updated:
39 type: datetime
40 oneToMany:
41 sessions:
42 targetEntity: Rapsys\AirBundle\Entity\Session
43 mappedBy: location
44
45 # manyToOne:
46 # title:
47 # targetEntity: Rapsys\UserBundle\Entity\Title
48 # inversedBy: users
49 # manyToMany:
50 # groups:
51 # targetEntity: Rapsys\UserBundle\Entity\Group
52 # inversedBy: users
53 # joinTable:
54 # name: groups_users
55 #
56 # manyToOne:
57 # site:
58 # targetEntity: Rapsys\BlogBundle\Entity\Site
59 # inversedBy: articles
60 # author:
61 # targetEntity: Rapsys\BlogBundle\Entity\Author
62 # inversedBy: articles
63 # manyToMany:
64 # keywords:
65 # targetEntity: Rapsys\BlogBundle\Entity\Keyword
66 # inversedBy: articles
67 # joinTable:
68 # name: articles_keywords
69 # oneToMany:
70 # article_translations:
71 # targetEntity: Rapsys\BlogBundle\Entity\ArticleTranslation
72 # mappedBy: article