<?php

namespace App\Models\Z_Website\Charging;

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

class ChargingUserRecharge extends Model
{
    use HasFactory;

    protected $fillable = ['user_id', 'code_id', 'amount', 'recharge_type'];
    public $timestamps = false;
    public function code()
    {
        return $this->belongsTo(ChargingCode::class, 'code_id');
    }
}
