Person
Reusable personal identity and contact information.
Integration
Extend the Business Core document and collection in your application and map the concrete classes. Adjust the namespace and class names as needed.
<?php
namespace MyApplication;
use Core\Document\Annotation\Database;
#[Database(document: MyPerson::class)]
class MyPersonCollection extends \BusinessCore\Collection\Party\PersonCollection\Base
{
}
#[Database(document: MyPersonCollection::class)]
class MyPerson extends \BusinessCore\Document\Party\Person\Base
{
}
Properties
Properties declared by BusinessCore\Document\Party\Person\Base, excluding inherited Core
Document properties.
| Property | PHP type |
|---|---|
externalId |
ObjectId|null |
personNumber |
string|null |
personGroupId |
ObjectId|null |
parentId |
ObjectId|null |
parentType |
string|null |
type |
string|null |
status |
string|null |
salutation |
string|null |
title |
string|null |
firstName |
string|null |
middleName |
string|null |
lastName |
string|null |
fullName |
string|null |
displayName |
string|null |
gender |
string|null |
birthDate |
DateTime|null |
languageKey |
string|null |
nationality |
string|null |
company |
string|null |
companyAddition |
string|null |
department |
string|null |
position |
string|null |
jobTitle |
string|null |
email |
string|null |
emails |
array|null |
phone |
string|null |
mobile |
string|null |
phones |
array|null |
addresses |
array|null |
website |
string|null |
messengers |
array|null |
socialLinks |
array|null |
avatarFileId |
ObjectId|null |
profileImageId |
ObjectId|null |
isPrimaryContact |
bool|null |
isActive |
bool|null |
isVerified |
bool|null |
isBlocked |
bool|null |
blockedAt |
DateTime|null |
blockedReason |
string|null |
lastContactAt |
DateTime|null |
lastLoginAt |
DateTime|null |
note |
string|null |
internalNote |
string|null |
tags |
array|null |
customFields |
array|null |