<?php

namespace App\Events;

use App\Danoral\ModelBase;
use Illuminate\Support\Facades\DB;

class EventLog extends ModelBase
{
    protected $table = 'logs.events_log';
    protected $primaryKey = 'idEvent';
    protected $keyType = 'bigint';
    public $incrementing = false;
    public $timestamps = false;

    protected $fillable = [
        'dateEvent',
        'codEvent',
        'idUsuario',
        'origenEvent',
        'IPEvent'
    ];

    public static $COD_EVENT_KILL_PROCESS  = 10001;
    public static $COD_EVENT_BACKUP_DATABASE  = 10002;
}