mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-02-14 11:18:41 +00:00
Use global namespace+minor fixes
This commit is contained in:
parent
4d5e1fe81e
commit
d3e52f9ca7
|
|
@ -46,8 +46,12 @@ final class ItemMapper extends DataMapperAbstract
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $primaryField = 'itemmgmt_item_id';
|
protected static $primaryField = 'itemmgmt_item_id'; /**
|
||||||
|
* Has many relation.
|
||||||
|
*
|
||||||
|
* @var array<string, array<string, string>>
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
protected static $hasMany = [
|
protected static $hasMany = [
|
||||||
'media' => [
|
'media' => [
|
||||||
'mapper' => MediaMapper::class, /* mapper of the related object */
|
'mapper' => MediaMapper::class, /* mapper of the related object */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user