<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class News extends Model
{
    protected $fillable = [
        'title',
        'details',
        'is_important',
        'expires_at',
        'is_active',
    ];

    protected $casts = [
        'is_important' => 'boolean',
        'is_active' => 'boolean',
        'expires_at' => 'datetime',
    ];
}
