2012-02-02 06:57:39 +04:00
|
|
|
Doctrine\Tests\Models\DDC964\DDC964User:
|
|
|
|
type: mappedSuperclass
|
|
|
|
id:
|
|
|
|
id:
|
|
|
|
type: integer
|
2012-04-14 09:10:44 +04:00
|
|
|
column: user_id
|
|
|
|
length: 150
|
2012-02-02 06:57:39 +04:00
|
|
|
generator:
|
|
|
|
strategy: AUTO
|
|
|
|
fields:
|
|
|
|
name:
|
|
|
|
type: string
|
2012-04-14 09:10:44 +04:00
|
|
|
column: user_name
|
|
|
|
length: 250
|
|
|
|
nullable: true
|
|
|
|
unique: false
|
2012-02-02 06:57:39 +04:00
|
|
|
manyToOne:
|
|
|
|
address:
|
|
|
|
targetEntity: DDC964Address
|
|
|
|
joinColumn:
|
|
|
|
name: address_id
|
|
|
|
referencedColumnName: id
|
|
|
|
cascade: [ persist, merge ]
|
|
|
|
manyToMany:
|
|
|
|
groups:
|
|
|
|
targetEntity: DDC964Group
|
|
|
|
joinTable:
|
|
|
|
name: ddc964_users_groups
|
|
|
|
joinColumns:
|
|
|
|
user_id:
|
|
|
|
referencedColumnName: id
|
|
|
|
inverseJoinColumns:
|
|
|
|
group_id:
|
|
|
|
referencedColumnName: id
|
|
|
|
cascade: [ persist, merge, detach ]
|