<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class DiamondRoiUser extends Model
{
    public $timestamps = false;
    protected $fillable = [

        'user_id',
        'inv_id',
        'wallet_value',
        'reward',
        'days',
        'roi_percentage',
        'sponsor_roi',
        'sponsor_status',
        'deposited_by',
        'entry_date',
        'give_spot',
        'is_level',
        'is_blocked',
        'block_remark',
    ];

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