Files
beatbook/app/Models/AdminNotification.php
T
2026-09-12 21:18:19 +01:00

16 lines
294 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class AdminNotification extends Model
{
protected $fillable = ['title', 'body', 'audience', 'status', 'published_at'];
protected function casts(): array
{
return ['published_at' => 'datetime'];
}
}