Initialisation of the bundle

This commit is contained in:
Marc Ducobu
2015-07-01 09:53:36 +02:00
parent 5c4cfc45e6
commit 5bc7bdab2d
9 changed files with 761 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
Chill\ActivityBundle\Entity\Activity:
type: entity
table: null
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
date:
type: datetime
durationTime:
type: time
remark:
type: text
attendee:
type: boolean
manyToOne:
user:
targetEntity: Chill\MainBundle\Entity\User
scope:
targetEntity: Chill\MainBundle\Entity\Scope
reason:
targetEntity: Chill\ActivityBundle\Entity\ActivityReason
type:
targetEntity: Chill\ActivityBundle\Entity\ActivityType
person:
targetEntity: Chill\PersonBundle\Entity\Person
lifecycleCallbacks: { }

View File

@@ -0,0 +1,19 @@
Chill\ActivityBundle\Entity\ActivityReason:
type: entity
table: null
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
label:
type: string
length: 255
active:
type: boolean
manyToOne:
category:
targetEntity: Chill\ActivityBundle\Entity\ActivityReasonCategory
lifecycleCallbacks: { }

View File

@@ -0,0 +1,16 @@
Chill\ActivityBundle\Entity\ActivityReasonCategory:
type: entity
table: null
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
label:
type: string
length: 255
active:
type: boolean
lifecycleCallbacks: { }

View File

@@ -0,0 +1,14 @@
Chill\ActivityBundle\Entity\ActivityType:
type: entity
table: null
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
name:
type: string
length: 255
lifecycleCallbacks: { }