<?php

namespace App\Models;

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

class StoreCategory extends Model
{
    use HasFactory;

    protected $table = 'store_category';

    protected $fillable = ['name', 'image'];

    public function categories()
    {
        return $this->hasMany(StoreCategoryMap::class);
    }

    public function locations()
    {
        return $this->hasMany(StoreCapacity::class);
    }


}
