Hoan thien core finance v2 - Calculation Pipeline, Form Templates

This commit is contained in:
2026-04-28 03:57:18 +00:00
parent 002c9a8b99
commit 49aa20a634
24 changed files with 1043 additions and 875 deletions

23
app/Models/FormField.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Concerns\HasUuids;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class FormField extends Model
{
use HasUuids, HasFactory;
protected $guarded = [];
protected $casts = [
'source_config' => 'array',
];
public function template()
{
return $this->belongsTo(FormTemplate::class);
}
}