<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\SoftDeletes;


/**
 * Class CompanyConnections
 * @package App\Models
 * @version August 4, 2020, 4:21 am
 *
 * @property string name
 * @property integer type
 */
class CompanyConnections extends AbstractModel
{

    use SoftDeletes;

    protected $table = 'company_connections';
    
    protected $dates = ['deleted_at'];

    /**
     * @return BelongsToMany
     */
    public function companyModule(): BelongsToMany
    {
        return $this->belongsToMany(CompanyModule::class);
    }

    

}
