mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 22:04:59 +00:00
sf4 deprecated: migrate Doctrine ORM mapping to annotation
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
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: { }
|
@@ -1,22 +0,0 @@
|
||||
Chill\EventBundle\Entity\EventType:
|
||||
type: entity
|
||||
table: chill_event_event_type
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
name:
|
||||
type: json_array
|
||||
active:
|
||||
type: boolean
|
||||
oneToMany:
|
||||
roles:
|
||||
targetEntity: Chill\EventBundle\Entity\Role
|
||||
mappedBy: type
|
||||
statuses:
|
||||
targetEntity: Chill\EventBundle\Entity\Status
|
||||
mappedBy: type
|
||||
lifecycleCallbacks: { }
|
@@ -1,24 +0,0 @@
|
||||
Chill\EventBundle\Entity\Participation:
|
||||
type: entity
|
||||
table: chill_event_participation
|
||||
repositoryClass: Chill\EventBundle\Repository\ParticipationRepository
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
lastUpdate:
|
||||
type: datetime
|
||||
manyToOne:
|
||||
event:
|
||||
targetEntity: Chill\EventBundle\Entity\Event
|
||||
inversedBy: participations
|
||||
person:
|
||||
targetEntity: Chill\PersonBundle\Entity\Person
|
||||
role:
|
||||
targetEntity: Chill\EventBundle\Entity\Role
|
||||
status:
|
||||
targetEntity: Chill\EventBundle\Entity\Status
|
||||
lifecycleCallbacks: { }
|
@@ -1,19 +0,0 @@
|
||||
Chill\EventBundle\Entity\Role:
|
||||
type: entity
|
||||
table: chill_event_role
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
name:
|
||||
type: json_array
|
||||
active:
|
||||
type: boolean
|
||||
manyToOne:
|
||||
type:
|
||||
targetEntity: Chill\EventBundle\Entity\EventType
|
||||
inversedBy: roles
|
||||
lifecycleCallbacks: { }
|
@@ -1,19 +0,0 @@
|
||||
Chill\EventBundle\Entity\Status:
|
||||
type: entity
|
||||
table: chill_event_status
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
name:
|
||||
type: json_array
|
||||
active:
|
||||
type: boolean
|
||||
manyToOne:
|
||||
type:
|
||||
targetEntity: Chill\EventBundle\Entity\EventType
|
||||
inversedBy: statuses
|
||||
lifecycleCallbacks: { }
|
Reference in New Issue
Block a user