belongsTo(User::class)->withDefault(); } public function course() { return $this->belongsTo(Course::class); } }