Renaming private varialbes of Entity/Person : history -> accompanyingPeriods, proxyHistoryOpenState -> proxyAccompanyingPeriodOpenState

This commit is contained in:
Marc Ducobu
2015-02-12 17:21:10 +01:00
parent 1071d5ff62
commit ef6fb61d4d
4 changed files with 22 additions and 18 deletions

View File

@@ -18,8 +18,11 @@ Chill\PersonBundle\Entity\AccompanyingPeriod:
manyToOne:
person:
targetEntity: Person
inversedBy: history
inversedBy: accompanyingPeriods
cascade: [refresh]
joinColumn:
name: person_id
referencedColumnName: id
closingMotive:
targetEntity: Chill\PersonBundle\Entity\AccompanyingPeriod\ClosingMotive
nullable: true

View File

@@ -34,7 +34,8 @@ Chill\PersonBundle\Entity\Person:
default: ''
email:
type: text
proxyHistoryOpenState:
proxyAccompanyingPeriodOpenState:
column: proxyHistoryOpenState
type: boolean
name: proxy_open
cFData:
@@ -52,7 +53,7 @@ Chill\PersonBundle\Entity\Person:
inversedBy: nationals
nullable: true
oneToMany:
history:
accompanyingPeriods:
targetEntity: AccompanyingPeriod
mappedBy: person
cascade: [persist, remove, merge, detach]

View File

@@ -25,7 +25,7 @@ Chill\PersonBundle\Entity\Person:
genre:
- NotNull:
groups: [general, creation]
history:
accompanyingPeriods:
- Valid:
traverse: true
constraints: