Files
root 031e499819
API CI/CD / Validate (composer + pint) (push) Successful in 3m10s
API CI/CD / Test (PHPUnit) (push) Failing after 6m49s
API CI/CD / Build frontend assets (push) Successful in 1m3s
API CI/CD / Security audit (push) Failing after 1m0s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
fix apply the plan docs/alrahma_api_fix_plan_school_year_only_v7
2026-07-07 01:52:29 -04:00

24 lines
464 B
PHP

<?php
namespace App\Models;
class ParentAccount extends BaseModel
{
protected $table = 'parent_accounts';
protected $fillable = [
'parent_id',
'school_year',
'school_year_id',
'opening_balance',
'current_balance',
];
protected $casts = [
'parent_id' => 'integer',
'school_year_id' => 'integer',
'opening_balance' => 'decimal:2',
'current_balance' => 'decimal:2',
];
}