<?php

namespace App\Models;

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

class LoginHistory extends Model
{
    use HasFactory;

    public $timestamps  = false;
    protected $rememberTokenName = false;

    protected $fillable = [
      'user_id',
        'date',
        'ip_address',
        'host_name',
        'result'
    ];

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