public function getBlock() { return $this->hasOne(\cmsadmin\models\Block::className(), ['id' => 'block_id']); }