mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 12:34:01 +00:00
37 lines
624 B
PHP
37 lines
624 B
PHP
<?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);
|
|
}
|
|
|
|
|
|
|
|
}
|