]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Location.orm.yml
Change box model
[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 hotspot:
37 type: boolean
38 created:
39 type: datetime
40 updated:
41 type: datetime
42 oneToMany:
43 sessions:
44 targetEntity: Rapsys\AirBundle\Entity\Session
45 mappedBy: location
46 snippets:
47 targetEntity: Rapsys\AirBundle\Entity\Snippet
48 mappedBy: location
49 indexes:
50 #XXX: used in SessionRepository::(findAllPendingDailyWeather|findAllPendingHourlyWeather)
51 zipcode:
52 columns: [ zipcode ]