feat: Initialize core application structure including authentication, role-based dashboards, service task management, and integration workflows.

This commit is contained in:
jeremy bayse
2026-02-16 09:30:23 +01:00
commit af060a8847
208 changed files with 26822 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class TemplateServiceItem extends Model
{
protected $fillable = [
'template_id',
'service_id',
'label',
'is_mandatory',
'fields',
];
protected $casts = [
'is_mandatory' => 'boolean',
'fields' => 'array',
];
public function template()
{
return $this->belongsTo(IntegrationTemplate::class);
}
public function service()
{
return $this->belongsTo(Service::class);
}
}