1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00
invoiceninja/app/Models/BankSubaccount.php
2019-01-30 22:25:37 +11:00

34 lines
562 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class BankSubaccount.
*/
class BankSubaccount extends EntityModel
{
use SoftDeletes;
/**
* @var array
*/
protected $dates = ['deleted_at'];
/**
* @return mixed
*/
public function getEntityType()
{
return ENTITY_BANK_SUBACCOUNT;
}
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function bank_account()
{
return $this->belongsTo('App\Models\BankAccount');
}
}