adrema/app/Form/Models/Formtemplate.php

25 lines
482 B
PHP
Raw Permalink 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;
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
{
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
];
}