<?php

namespace App\Models;

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

class Plan extends Model
{
    use HasFactory;
    protected $fillable = [
        'name',
        'description',
        'price',
        'color',
        'max_users_administrators',
        'max_users_administrative',
        'max_users_employees',
    ];
    public function companies()
    {
        return $this->hasMany(Company::class);
    }
}
