/** * @return ActiveQuery */ public function getClient() { return $this->hasOne(ClientModel::className(), ['id' => 'client_id']); }