mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
add homeless to addresses
This commit is contained in:
@@ -16,6 +16,9 @@ Chill\MainBundle\Entity\Address:
|
||||
length: 255
|
||||
validFrom:
|
||||
type: date
|
||||
isNoAddress:
|
||||
type: boolean
|
||||
default: false
|
||||
manyToOne:
|
||||
postcode:
|
||||
targetEntity: Chill\MainBundle\Entity\PostalCode
|
||||
|
@@ -36,18 +36,8 @@ Chill\MainBundle\Entity\Center:
|
||||
min: 2
|
||||
|
||||
Chill\MainBundle\Entity\Address:
|
||||
properties:
|
||||
streetAddress1:
|
||||
- Length:
|
||||
min: 2
|
||||
max: 250
|
||||
- NotNull: ~
|
||||
- NotBlank: ~
|
||||
postcode:
|
||||
- NotNull: ~
|
||||
validFrom:
|
||||
- NotNull: ~
|
||||
- Date: ~
|
||||
constraints:
|
||||
- Callback: validate
|
||||
|
||||
Chill\MainBundle\Entity\PostalCode:
|
||||
properties:
|
||||
|
Reference in New Issue
Block a user