This commit is contained in:
root
2019-11-05 00:03:22 +08:00
parent 50b4da797b
commit c749e31182
4 changed files with 74 additions and 4 deletions

View File

@ -2,10 +2,14 @@
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,
];
}