Current File : /home/itiffy/public_html/app/Home.php
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Laraveldaily\Quickadmin\Observers\UserActionsObserver;


use Illuminate\Database\Eloquent\SoftDeletes;

class Home extends Model {

    use SoftDeletes;

    /**
    * The attributes that should be mutated to dates.
    *
    * @var array
    */
    protected $dates = ['deleted_at'];

    protected $table    = 'home';
    
    protected $fillable = [
          'banner1',
          'banner2',
          'banner3',
          'section1',
          'section2',
          'section3',
          'section4',
          'section6'
    ];
    

    public static function boot()
    {
        parent::boot();

        Home::observe(new UserActionsObserver);
    }
    
    
    
    
}