v2board/app/Models/ServerLog.php
2019-11-05 00:03:22 +08:00

16 lines
303 B
PHP

<?php
namespace App\Models;
use App\Events\ServerLogSaveEvent;
use Illuminate\Database\Eloquent\Model;
class ServerLog extends Model
{
protected $table = 'v2_server_log';
protected $dateFormat = 'U';
protected $dispatchesEvents = [
'saving' => ServerLogSaveEvent::class,
];
}