<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Donasi extends Model
{
    protected $table = 'donasi';

    protected $fillable = [
        'nama',
        'telepon',
        'jumlah',
        'tujuan',
        'tanggal_transfer',
        'status',
    ];

    protected $casts = [
        'jumlah' => 'decimal:2',
        'tanggal_transfer' => 'date',
    ];
}
