Initial Commit
This commit is contained in:
13
app/Models/Branch.php
Normal file
13
app/Models/Branch.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Lpj\Models;
|
||||
|
||||
use Modules\Basicdata\Models\Branch as BasicdataBranch;
|
||||
|
||||
class Branch extends BasicdataBranch
|
||||
{
|
||||
public function debitures()
|
||||
{
|
||||
return $this->hasMany(Debiture::class, 'branch_id', 'id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user