Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
BlockedIp
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2declare(strict_types=1);
3
4namespace App\Model\Entity;
5
6use Cake\ORM\Entity;
7
8/**
9 * BlockedIp Entity
10 *
11 * @property string $id
12 * @property string $ip_address
13 * @property string|null $reason
14 * @property \Cake\I18n\DateTime $blocked_at
15 * @property \Cake\I18n\DateTime|null $expires_at
16 * @property \Cake\I18n\DateTime|null $created
17 * @property \Cake\I18n\DateTime|null $modified
18 */
19class BlockedIp extends Entity
20{
21    /**
22     * Fields that can be mass assigned using newEntity() or patchEntity().
23     *
24     * Note that when '*' is set to true, this allows all unspecified fields to
25     * be mass assigned. For security purposes, it is advised to set '*' to false
26     * (or remove it), and explicitly make individual fields accessible as needed.
27     *
28     * @var array<string, bool>
29     */
30    protected array $_accessible = [
31        'ip_address' => true,
32        'reason' => true,
33        'blocked_at' => true,
34        'expires_at' => true,
35        'created' => true,
36        'modified' => true,
37    ];
38}