mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 16:43:48 +00:00
move bundle to root dir for inclusion in packagist refs #259
This commit is contained in:
14
Resources/config/doctrine/Adress.orm.yml
Normal file
14
Resources/config/doctrine/Adress.orm.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
Chill\CustomFieldsBundle\Entity\Adress:
|
||||
type: entity
|
||||
table: null
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
data:
|
||||
type: string
|
||||
length: 255
|
||||
lifecycleCallbacks: { }
|
23
Resources/config/doctrine/BlopEntity.orm.yml
Normal file
23
Resources/config/doctrine/BlopEntity.orm.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
Chill\CustomFieldsBundle\Entity\BlopEntity:
|
||||
type: entity
|
||||
table: blop_entity
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
field1:
|
||||
type: string
|
||||
length: 255
|
||||
field2:
|
||||
type: string
|
||||
length: 255
|
||||
customField:
|
||||
type: json_array
|
||||
manyToOne:
|
||||
adress:
|
||||
targetEntity: Chill\CustomFieldsBundle\Entity\Adress
|
||||
cascade: [persist]
|
||||
lifecycleCallbacks: { }
|
16
Resources/config/doctrine/BlopEntity2.orm.yml
Normal file
16
Resources/config/doctrine/BlopEntity2.orm.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
Chill\CustomFieldsBundle\Entity\BlopEntity2:
|
||||
type: entity
|
||||
table: null
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
customFieldData:
|
||||
type: json_array
|
||||
lifecycleCallbacks:
|
||||
postLoad: [ loadCustomFieldConfig, unfoldCustomFieldData ]
|
||||
preFlush: [ preFlush ]
|
||||
prePersist: [ prePersist ]
|
30
Resources/config/doctrine/CustomField.orm.yml
Normal file
30
Resources/config/doctrine/CustomField.orm.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
Chill\CustomFieldsBundle\Entity\CustomField:
|
||||
type: entity
|
||||
table: null
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
name:
|
||||
type: json_array
|
||||
slug:
|
||||
type: string
|
||||
length: 255
|
||||
type:
|
||||
type: string
|
||||
length: 255
|
||||
active:
|
||||
type: boolean
|
||||
ordering:
|
||||
type: float
|
||||
options:
|
||||
type: json_array
|
||||
lifecycleCallbacks: { }
|
||||
manyToOne:
|
||||
customFieldGroup:
|
||||
targetEntity: Chill\CustomFieldsBundle\Entity\CustomFieldsGroup
|
||||
inversedBy: customFields
|
||||
#TODO: add an unique constraint slug+customFieldsGroup
|
19
Resources/config/doctrine/CustomFieldsGroup.orm.yml
Normal file
19
Resources/config/doctrine/CustomFieldsGroup.orm.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
Chill\CustomFieldsBundle\Entity\CustomFieldsGroup:
|
||||
type: entity
|
||||
table: null
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
name:
|
||||
type: json_array
|
||||
entity:
|
||||
type: string
|
||||
length: 255
|
||||
oneToMany:
|
||||
customFields:
|
||||
targetEntity: Chill\CustomFieldsBundle\Entity\CustomField
|
||||
mappedBy: customFieldGroup
|
Reference in New Issue
Block a user