mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Person attibutes name and surname become firstname and lastname
This commit is contained in:
@@ -8,10 +8,10 @@ Chill\PersonBundle\Entity\Person:
|
||||
id: true
|
||||
generator:
|
||||
strategy: AUTO
|
||||
name:
|
||||
firstName:
|
||||
type: string
|
||||
length: 255
|
||||
surname:
|
||||
lastName:
|
||||
type: string
|
||||
length: 255
|
||||
dateOfBirth:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
Chill\PersonBundle\Entity\Person:
|
||||
properties:
|
||||
name:
|
||||
firstName:
|
||||
- NotBlank:
|
||||
groups: [general, creation]
|
||||
- Length:
|
||||
@@ -9,8 +9,7 @@ Chill\PersonBundle\Entity\Person:
|
||||
minMessage: validation.Person.constraint.name_min
|
||||
maxMessage: validation.Person.constraint.name_max
|
||||
groups: [general, creation]
|
||||
|
||||
surname:
|
||||
lastName:
|
||||
- NotBlank:
|
||||
groups: [general, creation]
|
||||
- Length:
|
||||
@@ -30,8 +29,6 @@ Chill\PersonBundle\Entity\Person:
|
||||
- Callback:
|
||||
methods: [isHistoryValid]
|
||||
groups: [history_consistent]
|
||||
|
||||
|
||||
|
||||
Chill\PersonBundle\Entity\PersonHistoryFile:
|
||||
properties:
|
||||
|
Reference in New Issue
Block a user