belongsTo(SubTask::class, 'sub_task_id'); } public function user() { return $this->belongsTo(User::class)->withTrashed(); } }