add school year model
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
class ParentBalanceTransfer extends BaseModel
|
||||
{
|
||||
protected $table = 'parent_balance_transfers';
|
||||
|
||||
protected $fillable = [
|
||||
'parent_id',
|
||||
'from_school_year',
|
||||
'to_school_year',
|
||||
'amount',
|
||||
'status',
|
||||
'source_summary_json',
|
||||
'new_invoice_id',
|
||||
'created_by',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'parent_id' => 'integer',
|
||||
'amount' => 'decimal:2',
|
||||
'source_summary_json' => 'array',
|
||||
'new_invoice_id' => 'integer',
|
||||
'created_by' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user