35 lines
564 B
PHP
35 lines
564 B
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class SiteVisit
|
|
*
|
|
* @property int $id
|
|
* @property string|null $ip_address
|
|
* @property string|null $user_agent
|
|
* @property string|null $url
|
|
* @property Carbon|null $created_at
|
|
* @property Carbon|null $updated_at
|
|
*
|
|
* @package App\Models
|
|
*/
|
|
class SiteVisit extends Model
|
|
{
|
|
protected $table = 'site_visits';
|
|
public static $snakeAttributes = false;
|
|
|
|
protected $fillable = [
|
|
'ip_address',
|
|
'user_agent',
|
|
'url'
|
|
];
|
|
}
|