<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class FinRoiUser extends Model
{
    protected $fillable = [

        'roi_id',
        'user_id',
        'wallet_value',
        'days',
        'doc_status',
        'roi_amount',
        'roi_percentage',
        'level_amount',
        'package',
        'entry_date',
        'roi_changed_percentage',
        'changed_roi_amount',
        'changed_roi_date',
        'roi_changed_days',
        'inv_id',
    ];
    public function user()
    {
        return $this->belongsTo(User::class, 'user_id', 'user_id');
    }
}
