mirror of
https://github.com/Karaka-Management/oms-ItemManagement.git
synced 2026-01-26 10:38:40 +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
|
||||
* @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 = [
|
||||
'media' => [
|
||||
'mapper' => MediaMapper::class, /* mapper of the related object */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user