See More

belongsTo('App\Article'); } /** * 获得此评论所有的回复 */ public function replys() { return $this->hasMany('App\Comment', 'parent_id'); } }