<?php

namespace App\Models;

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

class StoreCapacity extends Model
{
    use HasFactory;

    protected $table = 'store_capacity';

    protected $fillable = ['store_category_id', 'location_id', 'max'];

    public function location() {
        return $this->belongsTo(Location::class);
    }
}
