chill-bundles/Resources/config/doctrine/GroupCenter.orm.yml
Julien Fastré 95145171da add a ScopePickerType and a UserPickerType
Those type allow easily to

- pick a Scope/circle in form
- pick a user in form
2017-04-25 17:29:25 +02:00

26 lines
745 B
YAML

Chill\MainBundle\Entity\GroupCenter:
type: entity
table: group_centers
cache:
usage: NONSTRICT_READ_WRITE
region: acl_cache_region
id:
id:
type: integer
id: true
generator:
strategy: AUTO
manyToOne:
center:
targetEntity: Chill\MainBundle\Entity\Center
inversedBy: groupCenters
cache:
usage: NONSTRICT_READ_WRITE
permissionsGroup:
targetEntity: Chill\MainBundle\Entity\PermissionsGroup
cache:
usage: NONSTRICT_READ_WRITE
manyToMany:
users:
targetEntity: Chill\MainBundle\Entity\User
mappedBy: groupCenters