public function getCat_rel() { return $this->hasMany(ProductCategoryRel::className(), ['product_id' => 'id']); }