<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use App\Models\User;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class AuthLogs extends Model
{
    /**
     *	The attributes that won't be assigned during
     *	a mass assignment.
     */
    protected $guarded = ['id'];

    /**
     * Get the user associate to this log.
     *
     * @return object
     */
    public function user(): BelongsTo
    {
        return $this->belongsTo(User::class);
    }
}
