add feat upload pbg task

This commit is contained in:
arifal
2025-04-09 21:10:20 +07:00
parent 6294d2f950
commit 84870b95b1
9 changed files with 593 additions and 116 deletions

View File

@@ -0,0 +1,14 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class PbgTaskAttachment extends Model
{
protected $fillable = ['pbg_task_id', 'file_name', 'file_path', 'pbg_type'];
public function task(){
return $this->belongsTo(PbgTask::class);
}
}