mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 12:34:18 +00:00
32 lines
605 B
PHP
32 lines
605 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
/**
|
|
* Class ExchangeCompanyConnection
|
|
* @package App\Models
|
|
*
|
|
* @property \App\Models\Company company_id
|
|
*/
|
|
class ExchangeCompanyConnection extends AbstractModel
|
|
{
|
|
use SoftDeletes;
|
|
|
|
protected $table = 'exchange_company_connections';
|
|
|
|
protected $dates = ['deleted_at'];
|
|
|
|
/**
|
|
* @return BelongsTo
|
|
*/
|
|
public function companyModule(): BelongsTo
|
|
{
|
|
return $this->BelongsTo(CompanyModule::class, 'company_module_id', 'id');
|
|
}
|
|
|
|
}
|