feat: Initialize core application structure including authentication, role-based dashboards, service task management, and integration workflows.
This commit is contained in:
22
app/Models/Attachment.php
Normal file
22
app/Models/Attachment.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Attachment extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'service_task_id',
|
||||
'filename',
|
||||
'original_name',
|
||||
'path',
|
||||
'mime_type',
|
||||
'size'
|
||||
];
|
||||
|
||||
public function serviceTask()
|
||||
{
|
||||
return $this->belongsTo(ServiceTask::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user