<?php
namespace App\Domain\Entity;
use App\Domain\Entity\Behavior\Identifiable;
use Gedmo\Timestampable\Traits\Timestampable;
/**
* Class PersonLog
*
* @package App\Domain\Entity
*/
class PersonLog
{
use Identifiable;
use Timestampable;
public const MAIL = 'mail';
public const MAIL_ERROR = 'mail_error';
public const PREMIUM = 'premium';
public const PREMIUM_ERROR = 'premium_error';
public const REQUEST_RESET_PASSWORD_ERROR = 'request_reset_password_error';
public const FIREBASE_EMAIL_NOT_FOUND = 'firebase_email_not_found';
public const GPS_LAUNCHED = 'gps_launched';
public function __construct(
public string $action,
public string $entity,
public ?Person $author = null,
public ?string $entityId = null,
public ?string $data = null,
public ?string $httpAgent = null,
) {}
}