new design
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
class SiteSection extends Model {
|
||||
protected $fillable = ['key','eyebrow','title','body','button_label','button_url','is_visible','sort_order'];
|
||||
protected function casts(): array { return ['is_visible'=>'boolean','sort_order'=>'integer']; }
|
||||
}
|
||||
Reference in New Issue
Block a user