mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
30 lines
442 B
PHP
30 lines
442 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class CompanyToken extends BaseModel
|
||
|
{
|
||
|
/**
|
||
|
* @var bool
|
||
|
*/
|
||
|
public $timestamps = false;
|
||
|
|
||
|
|
||
|
public function account()
|
||
|
{
|
||
|
return $this->belongsTo(Account::class);
|
||
|
}
|
||
|
|
||
|
public function user()
|
||
|
{
|
||
|
return $this->belongsTo(User::class);
|
||
|
}
|
||
|
|
||
|
public function company()
|
||
|
{
|
||
|
return $this->belongsTo(Company::class);
|
||
|
}
|
||
|
}
|