mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Adding MaritalStatus in db
This commit is contained in:
11
Resources/config/doctrine/MaritalStatus.orm.yml
Normal file
11
Resources/config/doctrine/MaritalStatus.orm.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
Chill\PersonBundle\Entity\MaritalStatus:
|
||||
table: marital_status
|
||||
type: entity
|
||||
id:
|
||||
id:
|
||||
type: string
|
||||
length: 7
|
||||
fields:
|
||||
name:
|
||||
type: json_array
|
||||
lifecycleCallbacks: { }
|
@@ -53,6 +53,8 @@ Chill\PersonBundle\Entity\Person:
|
||||
center:
|
||||
targetEntity: Chill\MainBundle\Entity\Center
|
||||
nullable: false
|
||||
maritalStatus:
|
||||
targetEntity: Chill\PersonBundle\Entity\maritalStatus
|
||||
oneToMany:
|
||||
accompanyingPeriods:
|
||||
targetEntity: AccompanyingPeriod
|
||||
|
Reference in New Issue
Block a user