<?php

namespace App\Models\Z_Website\Charging;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\Z_Website\User;

class ChargingPaypalTransaction extends Model
{
    public $timestamps = false;
    use HasFactory;

    protected $fillable = ['user_id', 'transaction_id', 'amount', 'status', 'completed_at'];

    public function user()
{
    return $this->belongsTo(User::class, 'user_id');
}
}
