2023-12-22 20:40:24 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Form\Models;
|
|
|
|
|
2024-03-07 00:58:14 +01:00
|
|
|
use App\Form\Data\FormConfigData;
|
2024-07-14 20:20:56 +02:00
|
|
|
use App\Lib\Editor\EditorData;
|
2024-09-22 17:32:29 +02:00
|
|
|
use Database\Factories\Form\Models\FormtemplateFactory;
|
2023-12-22 20:40:24 +01:00
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
2024-03-07 00:58:14 +01:00
|
|
|
/**
|
|
|
|
* @property FormConfigData $config
|
|
|
|
*/
|
2023-12-22 20:40:24 +01:00
|
|
|
class Formtemplate extends Model
|
|
|
|
{
|
2024-09-22 17:32:29 +02:00
|
|
|
/** @use HasFactory<FormtemplateFactory> */
|
2023-12-22 20:40:24 +01:00
|
|
|
use HasFactory;
|
|
|
|
|
|
|
|
public $guarded = [];
|
|
|
|
|
|
|
|
public $casts = [
|
2024-03-07 00:58:14 +01:00
|
|
|
'config' => FormConfigData::class,
|
2024-07-14 20:20:56 +02:00
|
|
|
'mail_top' => EditorData::class,
|
|
|
|
'mail_bottom' => EditorData::class,
|
2023-12-22 20:40:24 +01:00
|
|
|
];
|
|
|
|
}
|