Initial import
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\models;
|
||||
|
||||
/**
|
||||
* Class QrValidators
|
||||
* @package app\models
|
||||
* @property $user_id
|
||||
* @property $partner_id
|
||||
* @property \app\models\register\Partner $partner
|
||||
* @property \app\models\UserPublic $user
|
||||
*/
|
||||
class QrValidators extends _Base
|
||||
{
|
||||
public function getPartner()
|
||||
{
|
||||
return $this->hasOne(Partner::class, ['id' => 'partner']);
|
||||
}
|
||||
|
||||
public function getUser()
|
||||
{
|
||||
return $this->hasOne(UserPublic::class, ['id' => 'user_id']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user