]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Application.orm.yml
Add note about weather command
[airbundle] / Resources / config / doctrine / Application.orm.yml
1 Rapsys\AirBundle\Entity\Application:
2 type: entity
3 repositoryClass: Rapsys\AirBundle\Repository\ApplicationRepository
4 table: applications
5 id:
6 id:
7 type: integer
8 generator:
9 strategy: AUTO
10 options:
11 unsigned: true
12 fields:
13 #The score computed at attribution time, the sum of all session score divided by proximity in days (1 for sun-thu, 2 for fri-sat, +1 for high temperature, *-1 for bad weather)/abs(DAY(attribution date - session.date))
14 # score:
15 # type: float
16 created:
17 type: datetime
18 updated:
19 type: datetime
20 manyToOne:
21 session:
22 targetEntity: Rapsys\AirBundle\Entity\Session
23 inversedBy: applications
24 user:
25 targetEntity: Rapsys\AirBundle\Entity\User
26 inversedBy: applications
27 oneToMany:
28 votes:
29 targetEntity: Rapsys\AirBundle\Entity\Vote
30 mappedBy: application