<?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',
    ];
}
