mobile api changes + docker image basics

This commit is contained in:
Schneider Roland
2022-06-11 21:05:19 +02:00
parent 7e5efc2c7f
commit 067fc72ce4
207 changed files with 3803 additions and 130 deletions

View File

@@ -124,4 +124,11 @@ class MobileDevice extends \yii\db\ActiveRecord implements IdentityInterface
{
throw new NotSupportedException('"findIdentityByAccessToken" is not implemented.');
}
public function getCard()
{
return $this->hasOne(Card::class, [
'id_card' => 'id_card'
]);
}
}