Rapsys Git
/
airbundle
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Php 8.x constructor style
[airbundle]
/
Resources
/
config
/
doctrine
/
Dance.orm.yml
1
Rapsys\AirBundle\Entity\Dance:
2
type: entity
3
repositoryClass: Rapsys\AirBundle\Repository\DanceRepository
4
table: dances
5
id:
6
id:
7
type: integer
8
generator:
9
strategy: AUTO
10
options:
11
unsigned: true
12
fields:
13
name:
14
type: string
15
length: 32
16
type:
17
type: string
18
length: 32
19
created:
20
type: datetime
21
updated:
22
type: datetime
23
oneToMany:
24
applications:
25
targetEntity: Rapsys\AirBundle\Entity\Application
26
mappedBy: dance
27
manyToMany:
28
users:
29
targetEntity: Rapsys\AirBundle\Entity\User
30
mappedBy: dances
31
uniqueConstraints:
32
name_type:
33
columns: [ name, type ]
34
lifecycleCallbacks:
35
preUpdate: ['preUpdate']