cms/app/Models/FormSubmission.php
Funky Waddle 37ed997989 feat(cms): initialize Laravel project structure and core CMS files
- Added standard Laravel directory structure and configuration.

- Included Svelte and Tailwind configuration for the admin interface.

- Added core PHPUnit and testing scripts.
2026-04-13 12:48:06 -05:00

25 lines
370 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class FormSubmission extends Model
{
protected $fillable = [
'form_id',
'data',
'ip_address',
'user_agent',
];
protected $casts = [
'data' => 'array',
];
public function form()
{
return $this->belongsTo(Form::class);
}
}