Files
aso/app/Models/NotificationToken.php
Linksehat Staging Server ce024c2bcd merge
2023-05-08 08:50:15 +07:00

31 lines
516 B
PHP
Executable File

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class NotificationToken extends Model
{
use HasFactory;
protected $fillable = [
'origin',
'type',
'token',
'status',
];
protected $hidden = [
'notifiabletoken_type',
'notifiabletoken_id',
'created_at',
'updated_at'
];
public function notifiabletoken()
{
return $this->morphTo();
}
}