<?php

namespace App\Models;

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

class Autoclaim extends Model
{
    use HasFactory;

    protected $fillable = [
        'frequency', 'user_id', 'coin_id', 'boost', 'status'
    ];

    public function coin()
    {
        return $this->belongsTo(Coin::class, 'coin_id');
    }

}
