chill-bundles/Resources/config/doctrine/AccompanyingPeriod.orm.yml
Julien Fastré 19cc54a674 Add a link between accompanying period and user
It is now allowed to indicates who make/made the accompanying period.

This feature may be hidden by a specific configuration option. Default
to visible.
2019-07-01 15:21:34 +02:00

29 lines
778 B
YAML

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