mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-14 18:07:47 +00:00
Resolve "Import des usagers depuis une source externe"
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* Chill is a software for social workers
|
||||
*
|
||||
* For the full copyright and license information, please view
|
||||
* the LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Chill\PersonBundle\Actions\Upsert;
|
||||
|
||||
class UpsertMessage
|
||||
{
|
||||
public string $externalId;
|
||||
public int $personIdentifierDefinitionId;
|
||||
public ?string $firstName = null;
|
||||
public ?string $lastName = null;
|
||||
public ?string $gender = null;
|
||||
public ?string $birthdate = null;
|
||||
public ?string $mobileNumber = null;
|
||||
public ?string $phoneNumber = null;
|
||||
|
||||
public ?string $addressStreet = null;
|
||||
|
||||
/**
|
||||
* The extra field of the address.
|
||||
*/
|
||||
public ?string $addressExtra = null;
|
||||
public ?string $addressStreetNumber = null;
|
||||
public ?string $addressPostcode = null;
|
||||
public ?string $addressCity = null;
|
||||
public ?string $center = null;
|
||||
|
||||
public function hasAddressInfo(): bool
|
||||
{
|
||||
return null !== $this->addressStreet || null !== $this->addressPostcode || null !== $this->addressStreetNumber;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user