25 lines
482 B
PHP
25 lines
482 B
PHP
<?php
|
|
|
|
namespace App\Form\Models;
|
|
|
|
use App\Form\Data\FormConfigData;
|
|
use App\Lib\Editor\EditorData;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @property FormConfigData $config
|
|
*/
|
|
class Formtemplate extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
public $guarded = [];
|
|
|
|
public $casts = [
|
|
'config' => FormConfigData::class,
|
|
'mail_top' => EditorData::class,
|
|
'mail_bottom' => EditorData::class,
|
|
];
|
|
}
|