2009-08-13 15:03:26 +04:00
|
|
|
Doctrine\Tests\ORM\Mapping\User:
|
2009-06-06 01:40:47 +04:00
|
|
|
type: entity
|
|
|
|
table: cms_users
|
|
|
|
id:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
generator:
|
2009-06-07 21:20:37 +04:00
|
|
|
strategy: AUTO
|
2009-06-06 01:40:47 +04:00
|
|
|
fields:
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
length: 50
|
|
|
|
oneToOne:
|
|
|
|
address:
|
|
|
|
targetEntity: Address
|
|
|
|
joinColumn:
|
|
|
|
name: address_id
|
|
|
|
referencedColumnName: id
|
|
|
|
oneToMany:
|
|
|
|
phonenumbers:
|
|
|
|
targetEntity: Phonenumber
|
|
|
|
mappedBy: user
|
2009-07-25 20:33:29 +04:00
|
|
|
cascade: cascadePersist
|
2009-06-06 01:40:47 +04:00
|
|
|
manyToMany:
|
|
|
|
groups:
|
|
|
|
targetEntity: Group
|
|
|
|
joinTable:
|
|
|
|
name: cms_users_groups
|
|
|
|
joinColumns:
|
|
|
|
user_id:
|
|
|
|
referencedColumnName: id
|
|
|
|
inverseJoinColumns:
|
|
|
|
group_id:
|
|
|
|
referencedColumnName: id
|