1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-18 00:53:10 +01:00
invoiceninja/app/DataMapper/Analytics/LoginFailure.php

50 lines
883 B
PHP
Raw Normal View History

2020-04-30 14:33:57 +02:00
<?php
2020-09-07 12:18:56 +02:00
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
2020-09-07 12:18:56 +02:00
*
* @license https://opensource.org/licenses/AAL
*/
2020-04-30 14:33:57 +02:00
namespace App\DataMapper\Analytics;
class LoginFailure
{
/**
* The type of Sample.
*
* Monotonically incrementing counter
*
* - counter
*
* @var string
*/
public $type = 'counter';
2020-04-30 14:33:57 +02:00
/**
* The name of the counter.
* @var string
*/
public $name = 'login.failure';
2020-04-30 14:33:57 +02:00
/**
* The datetime of the counter measurement.
*
* date("Y-m-d H:i:s")
*
* @var DateTime
*/
public $datetime;
2020-04-30 14:33:57 +02:00
/**
* The increment amount... should always be
* set to 0.
*
* @var int
*/
public $metric = 0;
}