false, // Set default value for completed ]; public function user() { return $this->belongsTo(User::class); } public function category() { return $this->belongsTo(Category::class); } }