1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/app/Models/BankSubaccount.php

24 lines
410 B
PHP
Raw Normal View History

2016-01-26 21:22:33 +01:00
<?php namespace App\Models;
use Crypt;
use App\Models\Bank;
use Illuminate\Database\Eloquent\SoftDeletes;
class BankSubaccount extends EntityModel
{
use SoftDeletes;
protected $dates = ['deleted_at'];
public function getEntityType()
{
return ENTITY_BANK_SUBACCOUNT;
}
public function bank_account()
{
return $this->belongsTo('App\Models\BankAccount');
}
}