mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-22 18:28:40 +00:00
Re-format mappers
This commit is contained in:
parent
47c0d221c0
commit
dfe74dfb5e
|
|
@ -48,7 +48,7 @@ class AccountMapper extends DataMapperAbstract
|
|||
'account_password' => ['name' => 'account_password', 'type' => 'string', 'internal' => 'password'],
|
||||
'account_email' => ['name' => 'account_email', 'type' => 'string', 'internal' => 'email', 'autocomplete' => true],
|
||||
//'account_tries' => ['name' => 'account_tries', 'type' => 'int', 'internal' => 'tries'],
|
||||
'account_lactive' => ['name' => 'account_lactive', 'type' => 'DateTime', 'internal' => 'lastActive'],
|
||||
'account_lactive' => ['name' => 'account_lactive', 'type' => 'DateTime', 'internal' => 'lastActive'],
|
||||
'account_created_at' => ['name' => 'account_created_at', 'type' => 'DateTime', 'internal' => 'createdAt'],
|
||||
];
|
||||
|
||||
|
|
@ -60,10 +60,10 @@ class AccountMapper extends DataMapperAbstract
|
|||
*/
|
||||
protected static $hasMany = [
|
||||
'groups' => [
|
||||
'mapper' => GroupMapper::class,
|
||||
'table' => 'account_group',
|
||||
'dst' => 'account_group_account',
|
||||
'src' => 'account_group_group',
|
||||
'mapper' => GroupMapper::class,
|
||||
'table' => 'account_group',
|
||||
'dst' => 'account_group_account',
|
||||
'src' => 'account_group_group',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
@ -99,7 +99,7 @@ class AccountMapper extends DataMapperAbstract
|
|||
*
|
||||
* @return int Login code
|
||||
*
|
||||
* @todo move this to the admin accountMapper
|
||||
* @todo move this to the admin accountMapper
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user