1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 06:02:39 +01:00
invoiceninja/app/Models/BankAccount.php
2016-01-20 01:07:31 +02:00

24 lines
389 B
PHP

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