Files
DatBrowser/app/Models/InstagramNotification.php

31 lines
622 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class InstagramNotification extends Model
{
protected $table = 'instagram_notifications';
protected $fillable = [
'username',
'instagram_repost_id',
'notification_type',
'message',
'is_read',
];
protected $casts = [
'notification_type' => InstagramNotificationType::class,
'is_read' => 'boolean',
'created_at' => 'datetime',
'updated_at' => 'datetime',
];
protected $attributes = [
'is_read' => false,
'is_processed' => false,
];
}