<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class WebsiteVisit extends Model
{
    protected $table = 'website_visits';


    // Define fillable fields for mass assignment
    protected $fillable = [
        'visitor_ip',
        'country',
        'visit_timestamp',
        'visit_count',
        'referrer_url',
    ];

    protected $dates = ['visit_timestamp'];

    public $timestamps = false;
}