ok
Direktori : /home2/selectio/www/myclassicfit.com-1/app/Model/ |
Current File : //home2/selectio/www/myclassicfit.com-1/app/Model/Notification.php |
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class Notification extends Model { protected $casts = [ 'status' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; public function scopeActive($query) { return $query->where('status', '=', 1); } }