INIT: initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
namespace Modules\Profiler\Entities;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class HttpLog extends Model
|
||||
{
|
||||
public $table = 'http_log';
|
||||
protected $fillable = [
|
||||
'method',
|
||||
'url',
|
||||
'time',
|
||||
'load_1',
|
||||
'load_5',
|
||||
'load_15'
|
||||
];
|
||||
|
||||
public function queries()
|
||||
{
|
||||
return $this->hasMany(QueryLog::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user