mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
sf4 deprecated: migrate Doctrine ORM mapping to annotation
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
Chill\PersonBundle\Entity\AccompanyingPeriod\ClosingMotive:
|
||||
table: chill_person_closingmotive
|
||||
type: entity
|
||||
repositoryClass: Chill\PersonBundle\Repository\ClosingMotiveRepository
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator: { strategy: AUTO }
|
||||
fields:
|
||||
name:
|
||||
type: json_array
|
||||
active:
|
||||
type: boolean
|
||||
ordering:
|
||||
type: float
|
||||
options:
|
||||
default: 0.0
|
||||
oneToMany:
|
||||
children:
|
||||
targetEntity: Chill\PersonBundle\Entity\AccompanyingPeriod\ClosingMotive
|
||||
mappedBy: parent
|
||||
manyToOne:
|
||||
parent:
|
||||
targetEntity: Chill\PersonBundle\Entity\AccompanyingPeriod\ClosingMotive
|
||||
inversedBy: children
|
@@ -1,28 +0,0 @@
|
||||
Chill\PersonBundle\Entity\AccompanyingPeriod:
|
||||
table: chill_person_accompanying_period
|
||||
type: entity
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator: { strategy: AUTO }
|
||||
fields:
|
||||
openingDate:
|
||||
type: date
|
||||
closingDate:
|
||||
type: date
|
||||
default: null
|
||||
nullable: true
|
||||
remark:
|
||||
type: text
|
||||
manyToOne:
|
||||
person:
|
||||
targetEntity: Person
|
||||
inversedBy: accompanyingPeriods
|
||||
cascade: [refresh]
|
||||
closingMotive:
|
||||
targetEntity: Chill\PersonBundle\Entity\AccompanyingPeriod\ClosingMotive
|
||||
nullable: true
|
||||
user:
|
||||
targetEntity: Chill\MainBundle\Entity\User
|
||||
nullable: true
|
@@ -1,11 +0,0 @@
|
||||
Chill\PersonBundle\Entity\MaritalStatus:
|
||||
table: chill_person_marital_status
|
||||
type: entity
|
||||
id:
|
||||
id:
|
||||
type: string
|
||||
length: 7
|
||||
fields:
|
||||
name:
|
||||
type: json_array
|
||||
lifecycleCallbacks: { }
|
@@ -1,99 +0,0 @@
|
||||
Chill\PersonBundle\Entity\Person:
|
||||
type: entity
|
||||
table: chill_person_person
|
||||
indexes:
|
||||
person_names:
|
||||
columns: [firstName, lastName]
|
||||
repositoryClass: Chill\PersonBundle\Repository\PersonRepository
|
||||
fields:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
firstName:
|
||||
type: string
|
||||
length: 255
|
||||
lastName:
|
||||
type: string
|
||||
length: 255
|
||||
birthdate:
|
||||
type: date
|
||||
nullable: true
|
||||
placeOfBirth:
|
||||
type: string
|
||||
length: 255
|
||||
column: place_of_birth
|
||||
default: ''
|
||||
gender:
|
||||
type: string
|
||||
length: 9
|
||||
nullable: true
|
||||
memo:
|
||||
type: text
|
||||
default: ''
|
||||
contactInfo:
|
||||
type: text
|
||||
nullable: true
|
||||
email:
|
||||
type: text
|
||||
nullable: true
|
||||
proxyAccompanyingPeriodOpenState:
|
||||
type: boolean
|
||||
name: proxy_open
|
||||
cFData:
|
||||
type: json_array
|
||||
phonenumber:
|
||||
type: text
|
||||
nullable: true
|
||||
length: 40
|
||||
mobilenumber:
|
||||
type: text
|
||||
nullable: true
|
||||
length: 40
|
||||
fullnameCanonical:
|
||||
type: text
|
||||
nullable: true
|
||||
manyToOne:
|
||||
countryOfBirth:
|
||||
targetEntity: Chill\MainBundle\Entity\Country
|
||||
inversedBy: birthsIn
|
||||
nullable: true
|
||||
nationality:
|
||||
targetEntity: Chill\MainBundle\Entity\Country
|
||||
inversedBy: nationals
|
||||
nullable: true
|
||||
center:
|
||||
targetEntity: Chill\MainBundle\Entity\Center
|
||||
nullable: false
|
||||
maritalStatus:
|
||||
targetEntity: Chill\PersonBundle\Entity\MaritalStatus
|
||||
nullable: true
|
||||
oneToMany:
|
||||
accompanyingPeriods:
|
||||
targetEntity: AccompanyingPeriod
|
||||
mappedBy: person
|
||||
cascade: [persist, remove, merge, detach]
|
||||
altNames:
|
||||
targetEntity: PersonAltName
|
||||
mappedBy: person
|
||||
cascade: [persist, remove, merge, detach]
|
||||
orphanRemoval: true
|
||||
manyToMany:
|
||||
spokenLanguages:
|
||||
targetEntity: Chill\MainBundle\Entity\Language
|
||||
joinTable:
|
||||
name: persons_spoken_languages
|
||||
joinColumns:
|
||||
person_id:
|
||||
referencedColumnName: id
|
||||
inverseJoinColumns:
|
||||
language_id:
|
||||
referencedColumnName: id
|
||||
addresses:
|
||||
targetEntity: Chill\MainBundle\Entity\Address
|
||||
orderBy: { 'validFrom': 'DESC' }
|
||||
joinTable:
|
||||
name: chill_person_persons_to_addresses
|
||||
cascade: [persist, remove, merge, detach]
|
||||
lifecycleCallbacks: { }
|
@@ -1,21 +0,0 @@
|
||||
Chill\PersonBundle\Entity\PersonAltName:
|
||||
type: entity
|
||||
table: chill_person_alt_name
|
||||
repositoryClass: Chill\PersonBundle\Repository\PersonAltNameRepository
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
key:
|
||||
type: string
|
||||
length: 255
|
||||
label:
|
||||
type: text
|
||||
|
||||
manyToOne:
|
||||
person:
|
||||
targetEntity: Person
|
||||
inversedBy: altNames
|
Reference in New Issue
Block a user