mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
34 lines
562 B
PHP
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');
|
|
}
|
|
}
|