]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Session.orm.yml
Add AttributeCommand and WeatherCommand services
[airbundle] / Resources / config / doctrine / Session.orm.yml
1 Rapsys\AirBundle\Entity\Session:
2 type: entity
3 repositoryClass: Rapsys\AirBundle\Repository\SessionRepository
4 table: sessions
5 id:
6 id:
7 type: integer
8 generator:
9 strategy: AUTO
10 options:
11 unsigned: true
12 fields:
13 date:
14 type: date
15 begin:
16 type: time
17 nullable: true
18 length:
19 type: time
20 nullable: true
21 premium:
22 type: boolean
23 rainfall:
24 type: float
25 nullable: true
26 rainrisk:
27 type: float
28 nullable: true
29 realfeel:
30 type: float
31 nullable: true
32 realfeelmin:
33 type: float
34 nullable: true
35 realfeelmax:
36 type: float
37 nullable: true
38 temperature:
39 type: float
40 nullable: true
41 temperaturemin:
42 type: float
43 nullable: true
44 temperaturemax:
45 type: float
46 nullable: true
47 created:
48 type: datetime
49 updated:
50 type: datetime
51 oneToOne:
52 application:
53 targetEntity: Rapsys\AirBundle\Entity\Application
54 manyToOne:
55 location:
56 targetEntity: Rapsys\AirBundle\Entity\Location
57 inversedBy: sessions
58 slot:
59 targetEntity: Rapsys\AirBundle\Entity\Slot
60 inversedBy: sessions
61 oneToMany:
62 applications:
63 targetEntity: Rapsys\AirBundle\Entity\Application
64 mappedBy: session
65 uniqueConstraints:
66 date_location_slot:
67 columns: [ date, location_id, slot_id ]
68 indexes:
69 application_date_begin_slot_created:
70 columns: [ application_id, date, begin, slot_id, created ]