belongsTo('App\Article'); } /** * è·å¾æ¤è¯è®ºææçåå¤ */ public function replys() { return $this->hasMany('App\Comment', 'parent_id'); } }