]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Session.orm.yml
a9381475e5fe7083dbf4f89484a7b8fb77fd037b
[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 locked:
48 type: datetime
49 nullable: true
50 created:
51 type: datetime
52 updated:
53 type: datetime
54 oneToOne:
55 application:
56 targetEntity: Rapsys\AirBundle\Entity\Application
57 manyToOne:
58 location:
59 targetEntity: Rapsys\AirBundle\Entity\Location
60 inversedBy: sessions
61 slot:
62 targetEntity: Rapsys\AirBundle\Entity\Slot
63 inversedBy: sessions
64 oneToMany:
65 applications:
66 targetEntity: Rapsys\AirBundle\Entity\Application
67 mappedBy: session
68 uniqueConstraints:
69 date_location_slot:
70 columns: [ date, location_id, slot_id ]
71 indexes:
72 application_date_begin_slot_created:
73 columns: [ application_id, date, begin, slot_id, created ]