chore: remove APAW from tracking; gitignore agent-generated files

This commit is contained in:
Deploy Bot
2026-06-20 01:32:54 +01:00
parent d6dedfb513
commit 6aa41381ac
362 changed files with 48506 additions and 13261 deletions

56
app/FormData.php Normal file
View File

@@ -0,0 +1,56 @@
<?php
namespace App;
use App\Traits\UsesUuid;
use Illuminate\Database\Eloquent\Model;
class FormData extends Model
{
use UsesUuid;
/**
* The attributes that aren't mass assignable.
*
* @var array
*/
protected $guarded = [];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
'data' => 'array',
];
public static function sources()
{
return ['app'];
}
/**
* Get the form for the form data
*/
public function form()
{
return $this->belongsTo(\App\Form::class);
}
/**
* Get the submitted by for the form.
*/
public function submittedBy()
{
return $this->belongsTo(\App\User::class, 'submitted_by');
}
/**
* Get the form's comment
*/
public function comments()
{
return $this->hasMany(\App\FormDataComment::class, 'form_data_id');
}
}