32 lines
854 B
YAML

Chill\EventBundle\Entity\Event:
type: entity
table: chill_event_event
repositoryClass: Chill\EventBundle\Repository\EventRepository
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
name:
type: string
length: '150'
date:
type: datetime
oneToMany:
participations:
targetEntity: Chill\EventBundle\Entity\Participation
mappedBy: event
manyToOne:
center:
targetEntity: Chill\MainBundle\Entity\Center
type:
targetEntity: Chill\EventBundle\Entity\EventType
circle:
targetEntity: Chill\MainBundle\Entity\Scope
moderator:
targetEntity: Chill\MainBundle\Entity\User
lifecycleCallbacks: { }