<?php

namespace App\Models\Log;

use App\Models\BaseModel;

class LogModel extends BaseModel
{
    protected $table            = 'userlog';
    protected $primaryKey       = 'id_log';
    protected $allowedFields    = ['id_user', 'aksi', 'wkt'];

    // Validation
    protected $validationRules = [
		'id_user' => [
            'label' => 'id user',
            'rules' => 'required',
        ],
		'aksi' => [
            'label' => 'aksi',
            'rules' => 'required',
        ],
    ];
}