1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/app/Models/AccountToken.php
2015-11-06 00:37:04 +02:00

20 lines
355 B
PHP

<?php namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;
class AccountToken extends EntityModel
{
use SoftDeletes;
protected $dates = ['deleted_at'];
public function getEntityType()
{
return ENTITY_TOKEN;
}
public function account()
{
return $this->belongsTo('App\Models\Account');
}
}