<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Attributes\Fillable;
use Illuminate\Database\Eloquent\Model;

#[Fillable(['order_id', 'user_id', 'amount', 'method', 'reference', 'note'])]
class PaymentLog extends Model
{
    protected function casts(): array
    {
        return ['amount' => 'decimal:2'];
    }
}
