PK

ADDRLIN : /home/questend/public_html/domains/evami.in/app/
FLL :
Current File : /home/questend/public_html/domains/evami.in/app/Banner.php

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Banner extends Model
{
    /**
    * The table associated with the model.
    *
    * @var string
    */
    protected $table = 'banners';

    use SoftDeletes;

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

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'id','vender_id','category_id','banner_title','banner_desc','banner_url','banner_image','banner_sortby','isactive','isdelete','addedby','created_at','updated_at','deleted_at','visitor'
    ];

    /**
     * Scope a query to only include active users.
     *
     * @param \Illuminate\Database\Eloquent\Builder $query
     * @return \Illuminate\Database\Eloquent\Builder
     */
    public function scopeActive($query)
    {
        return $query->where('isactive', 1);
    }

    /**
     * Get the index name for the model.
     *
     * @return string
    */
    public function category()
    {
        return $this->belongsTo('App\Category');
    }
}


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home