public function getLastPost() { return $this->hasOne(BbiiPost::className(), ['id' => 'last_post_id']); }