1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/Models/BankSubaccount.php
2017-01-30 21:40:43 +02: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');
}
}