<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Homepage extends Model
{
    use HasFactory;

    protected $table = 'homepage';

    protected $fillable = [
        'photo',
        'photo_mobile',
        'photo_menu',
        'title',
        'body',
        'address',
        'delivery',
        'opening_hours',
        'widget_link'
    ];

    protected $casts = [
        'opening_hours' => 'array',
    ];
}