mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 05:44:58 +00:00
Initialisation of the bundle
This commit is contained in:
30
Resources/config/doctrine/Activity.orm.yml
Normal file
30
Resources/config/doctrine/Activity.orm.yml
Normal 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: { }
|
19
Resources/config/doctrine/ActivityReason.orm.yml
Normal file
19
Resources/config/doctrine/ActivityReason.orm.yml
Normal 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: { }
|
16
Resources/config/doctrine/ActivityReasonCategory.orm.yml
Normal file
16
Resources/config/doctrine/ActivityReasonCategory.orm.yml
Normal 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: { }
|
14
Resources/config/doctrine/ActivityType.orm.yml
Normal file
14
Resources/config/doctrine/ActivityType.orm.yml
Normal 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: { }
|
Reference in New Issue
Block a user