mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
Add shortcut person <-> current address, and update api for
re-implements searching * add geographic function ST_CONTAINS * add a link between the current valid address and person, optimized on database side; * update PersonACLAwareRepository for re-using methods elsewhere.
This commit is contained in:
@@ -419,6 +419,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
||||
* This is computed through database and is optimized on database side.
|
||||
*
|
||||
* @var PersonCurrentAddress|null
|
||||
* @ORM\OneToOne(targetEntity=PersonCurrentAddress::class, mappedBy="person")
|
||||
*/
|
||||
private ?PersonCurrentAddress $currentPersonAddress = null;
|
||||
|
||||
|
Reference in New Issue
Block a user