First Upload

This commit is contained in:
2024-10-19 18:23:55 +00:00
commit 9db52c11c3
11339 changed files with 1479286 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace App\CustomClasses;
use App\Models\Task;
class GetAndCheckTaskIds
{
protected $ids;
public function __construct(array $ids)
{
$this->ids = $ids;
}
public function GetTaskRecords()
{
return Task::with('device', 'tag', 'category')->whereIn('id', $this->ids)->get();
}
}