fix new hit endpoint pbg status

This commit is contained in:
arifal hidayat
2025-08-31 01:22:51 +07:00
parent 63310f2748
commit 65d9247b46
7 changed files with 186 additions and 6 deletions

View File

@@ -65,6 +65,11 @@ class PbgTask extends Model
return $this->hasMany(PbgTaskDetailDataList::class, 'pbg_task_uuid', 'uuid');
}
public function pbg_status()
{
return $this->hasOne(PbgStatus::class, 'pbg_task_uuid', 'uuid');
}
/**
* Get only data lists with files
*/