Add Module Branch and Currency
This commit is contained in:
10
app/Models/Branch.php
Normal file
10
app/Models/Branch.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Basicdata\Models;
|
||||
|
||||
|
||||
class Branch extends Base
|
||||
{
|
||||
protected $table = 'branches';
|
||||
protected $fillable = ['code', 'name', 'status', 'authorized_at', 'authorized_status', 'authorized_by'];
|
||||
}
|
||||
18
app/Models/Currency.php
Normal file
18
app/Models/Currency.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Basicdata\Models;
|
||||
|
||||
class Currency extends Base
|
||||
{
|
||||
protected $table = 'currencies';
|
||||
|
||||
protected $fillable = [
|
||||
'code',
|
||||
'name',
|
||||
'decimal_places',
|
||||
'status',
|
||||
'authorized_at',
|
||||
'authorized_status',
|
||||
'authorized_by'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user