Company
Company identity and corporate 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: MyCompany::class)]
class MyCompanyCollection extends \BusinessCore\Collection\Organization\CompanyCollection\Base
{
}
#[Database(document: MyCompanyCollection::class)]
class MyCompany extends \BusinessCore\Document\Organization\Company\Base
{
}
Properties
Properties declared by BusinessCore\Document\Organization\Company\Base, excluding
inherited
Core Document properties.
| Property | PHP type |
|---|---|
externalId |
ObjectId|null |
companyNumber |
string|null |
companyGroupId |
ObjectId|null |
name |
string|null |
legalName |
string|null |
addresses |
array|null |
vatId |
string|null |