add school year model
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
class ParentAccount extends BaseModel
|
||||
{
|
||||
protected $table = 'parent_accounts';
|
||||
|
||||
protected $fillable = [
|
||||
'parent_id',
|
||||
'school_year',
|
||||
'opening_balance',
|
||||
'current_balance',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'parent_id' => 'integer',
|
||||
'opening_balance' => 'decimal:2',
|
||||
'current_balance' => 'decimal:2',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user