adrema/app/Form/Models/Formtemplate.php

27 lines
586 B
PHP
Raw Normal View History

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;
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,
'mail_top' => EditorData::class,
'mail_bottom' => EditorData::class,
2023-12-22 20:40:24 +01:00
];
}