/**
  * @return \yii\db\ActiveQuery
  */
 public function getParent()
 {
     return $this->hasOne(BlogComment::className(), ['id' => 'parent_id']);
 }
 public function getComments()
 {
     return $this->hasMany(BlogComment::className(), ['post_id' => 'id']);
 }