<?php

namespace App\Models;

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

class FaucetHistory extends Model
{
    use HasFactory;

    protected $table = 'faucet_history';
    protected $primaryKey = 'id';
    public $timestamps = true;

    protected $fillable = [
        'user_id', 'reward', 'ip', 'country'
    ];
    
    public function user()
    {
        return $this->belongsTo(User::class);
    }
}
