<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class StoreLocation extends Model
{
    use SoftDeletes;

    protected $fillable = [
        'name',
        'address',
        'city',
        'state',
        'country',
        'zipcode',
        'phone',
        'email',
        'operating_hours',
        'latitude',
        'longitude',
        'is_active',
        'has_pickup',
        'has_delivery',
    ];

    protected $casts = [
        'is_active' => 'boolean',
        'has_pickup' => 'boolean',
        'has_delivery' => 'boolean',
    ];
}
