<?php

namespace App\Models;

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

class AmbitsEquipment extends Model
{
    use HasFactory;
    
    protected $table = 'ambits_equipments';
    protected $primaryKey = 'ambits_equipment_id';

    public $timestamps = false;
    

    public function equipmentAssociationAmbit(){
        return $this->hasMany(EquipmentAssociationAmbit::class, 'ambits_id', 'ambits_id');
    }
}
