public function getCat() { return $this->hasOne(ArticleCategories::className(), ['id' => 'catid']); }