Office
Office identities and organizational contact data.
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: MyOffice::class)]
class MyOfficeCollection extends \BusinessCore\Collection\Organization\OfficeCollection\Base
{
}
#[Database(document: MyOfficeCollection::class)]
class MyOffice extends \BusinessCore\Document\Organization\Office\Base
{
}
Properties
Properties declared by BusinessCore\Document\Organization\Office\Base, excluding
inherited
Core Document properties.
| Property | PHP type |
|---|---|
officeNumber |
string|null |
officeGroupId |
ObjectId|null |
name |
string|null |
addresses |
array|null |