fix:edit sitevisit error
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
<?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'
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user