]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Application.orm.yml
Add location default values
[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 score:
14 type: float
15 nullable: true
16 canceled:
17 type: datetime
18 nullable: true
19 created:
20 type: datetime
21 updated:
22 type: datetime
23 manyToOne:
24 dance:
25 targetEntity: Rapsys\AirBundle\Entity\Dance
26 inversedBy: applications
27 session:
28 targetEntity: Rapsys\AirBundle\Entity\Session
29 inversedBy: applications
30 user:
31 targetEntity: Rapsys\AirBundle\Entity\User
32 inversedBy: applications
33 lifecycleCallbacks:
34 preUpdate: ['preUpdate']
35 # oneToMany:
36 # votes:
37 # targetEntity: Rapsys\AirBundle\Entity\Vote
38 # mappedBy: application
39 # indexes:
40 # #XXX: used in SessionRepository::XXX
41 # id_user:
42 # columns: [ id, user_id ]
43 # id_user_canceled:
44 # columns: [ id, user_id, canceled ]