Store
Retail and commercial store 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: MyStore::class)]
class MyStoreCollection extends \BusinessCore\Collection\Location\StoreCollection\Base
{
}
#[Database(document: MyStoreCollection::class)]
class MyStore extends \BusinessCore\Document\Location\Store\Base
{
}
Properties
Properties declared by BusinessCore\Document\Location\Store\Base, excluding inherited
Core
Document properties.
| Property | PHP type |
|---|---|
storeNumber |
string|null |
storeGroupId |
ObjectId|null |
name |
string|null |
addresses |
array|null |