mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-20 04:53:56 +00:00
25 lines
473 B
PHP
25 lines
473 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
/**
|
|
* Class CompanyInfo
|
|
* @package App\Models
|
|
*
|
|
* @property \App\Models\Company company_id
|
|
*/
|
|
class CompanyInfo extends AbstractModel
|
|
{
|
|
protected $table = 'company_infos';
|
|
|
|
/**
|
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
|
**/
|
|
public function company(): BelongsTo
|
|
{
|
|
return $this->belongsTo(Company::class, 'company_id', 'id');
|
|
}
|
|
}
|