<?php

/*
    Created by Mohamed.
*/

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class WalletHistory extends Model
{
    use HasFactory;

    protected $fillable = [
        'wallet_id',
        'type',
        'amount',
        'description',
        'status',
        'transaction_id',
    ];

    public function wallet()
    {
        return $this->belongsTo(Wallet::class);
    }
}