Files
wticreatorstudio/Modules/PageBuilderPlus/Entities/GJSWidget.php
T
2024-02-12 22:54:20 -05:00

28 lines
577 B
PHP

<?php
namespace Modules\PageBuilderPlus\Entities;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class GJSWidget extends Model
{
protected $table = 'gjswidgets';
protected $fillable = [
'gid',
'label',
'media',
'category',
'tooltip',
'blade'
];
public static $rules = [
'gid' => 'required|string',
'label' => 'required|string',
'category' => 'nullable|string',
'tooltip' => 'nullable|string'
];
}