| Current File : /var/www/orientalss.com/app/Models/NotificationRule.php |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Laravel\Scout\Searchable;
class NotificationRule extends Model
{
use HasFactory,SoftDeletes,Searchable;
protected $guarded =[];
public function toSearchableArray()
{
return [
'notification_thru' => $this->notification_thru,
'notification_based_on' => $this->notification_based_on,
];
}
}