1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/app/Models/CompanyToken.php
2019-03-27 08:17:28 +11:00

33 lines
490 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CompanyToken extends BaseModel
{
/**
* @var bool
*/
public $timestamps = false;
protected $guarded = [
'id',
];
public function account()
{
return $this->belongsTo(Account::class);
}
public function user()
{
return $this->belongsTo(User::class);
}
public function company()
{
return $this->belongsTo(Company::class);
}
}