mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 16:37:31 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			410 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			410 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?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');
 | |
|     }
 | |
| 
 | |
| }
 | |
| 
 |