/** * @return \yii\db\ActiveQuery */ public function getClientType() { return $this->hasOne(ClientType::className(), ['id' => 'client_type_id']); }