mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-18 16:24:24 +00:00
24 lines
812 B
YAML
24 lines
812 B
YAML
Chill\PersonBundle\Entity\AccompanyingPeriod:
|
|
properties:
|
|
openingDate:
|
|
- Date:
|
|
message: 'Opening date is not valid'
|
|
- NotNull:
|
|
message: 'Opening date can not be null'
|
|
closingDate:
|
|
- Date:
|
|
message: 'Closing date is not valid'
|
|
- NotNull:
|
|
message: 'Closing date can not be null'
|
|
groups: [closed]
|
|
constraints:
|
|
- Callback:
|
|
callback: isDateConsistent
|
|
- 'Chill\PersonBundle\Validator\Constraints\AccompanyingPeriod\LocationValidity': ~
|
|
|
|
Chill\PersonBundle\Entity\PersonPhone:
|
|
properties:
|
|
phonenumber:
|
|
- Chill\MainBundle\Validation\Constraint\PhonenumberConstraint:
|
|
type: any
|