belongsTo(User::class); } public function mood() { return $this->belongsTo(Mood::class); } public function notes() { return $this->morphMany(Note::class, 'noteable'); } }