mirror of
https://github.com/Karaka-Management/oms-Calendar.git
synced 2026-02-17 00:48:42 +00:00
Re-format mappers
This commit is contained in:
parent
8c91e73c71
commit
412b6e8b84
|
|
@ -9,7 +9,7 @@
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
* @link http://website.orange-management.de
|
* @link http://website.orange-management.de
|
||||||
* @todo only load events of 3 month or 1 year?!
|
* @todo only load events of 3 month or 1 year?!
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
|
@ -59,10 +59,10 @@ class CalendarMapper extends DataMapperAbstract
|
||||||
*/
|
*/
|
||||||
protected static $hasMany = [
|
protected static $hasMany = [
|
||||||
'events' => [
|
'events' => [
|
||||||
'mapper' => EventMapper::class,
|
'mapper' => EventMapper::class,
|
||||||
'table' => 'calendar_event',
|
'table' => 'calendar_event',
|
||||||
'dst' => 'calendar_event_calendar',
|
'dst' => 'calendar_event_calendar',
|
||||||
'src' => null,
|
'src' => null,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user