1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/app/DataMapper/Analytics/LoginSuccess.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) 2020. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
2020-04-30 14:33:57 +02:00
namespace App\DataMapper\Analytics;
class LoginSuccess
{
/**
* 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.success';
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;
}