<?php
namespace App\Domain\Entity;
use App\Domain\Entity\Behavior\Identifiable;
use Gedmo\Timestampable\Traits\Timestampable;
/**
* Class RevisionLog
*
* @package App\Domain\Entity
*/
class NotificationLog
{
use Identifiable;
use Timestampable;
public const NOTIFICATION = 'notification';
public const NOTIFICATION_ERROR = 'notification_error';
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,
) {}
}