<?php
declare(strict_types=1);

namespace App\Model\Entity;

use Cake\ORM\Entity;

/**
 * SlowQuery Entity
 *
 * @property int $id
 * @property string|null $user
 * @property string|null $schema
 * @property string|null $query_time
 * @property string|null $lock_time
 * @property int|null $rows_sent
 * @property int|null $rows_examined
 * @property string|null $date
 * @property string|null $query
 * @property \Cake\I18n\FrozenTime|null $created
 */
class SlowQuery extends Entity
{
    /**
     * Fields that can be mass assigned using newEntity() or patchEntity().
     *
     * Note that when '*' is set to true, this allows all unspecified fields to
     * be mass assigned. For security purposes, it is advised to set '*' to false
     * (or remove it), and explicitly make individual fields accessible as needed.
     *
     * @var array
     */
    protected $_accessible = [
        'user' => true,
        'schema' => true,
        'query_time' => true,
        'lock_time' => true,
        'rows_sent' => true,
        'rows_examined' => true,
        'date' => true,
        'query' => true,
        'created' => true,
    ];
}
