Supplier
Supplier identities and procurement relationships.
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: MySupplier::class)]
class MySupplierCollection extends \BusinessCore\Collection\Party\SupplierCollection\Base
{
}
#[Database(document: MySupplierCollection::class)]
class MySupplier extends \BusinessCore\Document\Party\Supplier\Base
{
}Properties
Properties declared by BusinessCore\Document\Party\Supplier\Base, excluding inherited Core Document properties.
| Property | PHP type |
|---|---|
externalId | ObjectId|null |
supplierNumber | string|null |
supplierGroupId | ObjectId|null |
company | string|null |
email | string|null |
phone | string|null |
addresses | array|null |
vatId | string|null |
isActive | bool|null |
tags | array|null |