VanguardAI/app/Entities/NotificationType.php
2024-10-27 12:50:51 -06:00

32 lines
593 B
PHP

<?php
namespace App\Entities;
class NotificationType extends BaseEntity
{
/**
* @var int Identificador único del tipo de notificación.
*/
public int $type_id;
/**
* @var string Nombre del tipo de notificación.
*/
public string $type_name;
/**
* @var string|null Descripción del tipo de notificación.
*/
public ?string $description;
/**
* Obtiene el nombre de la clave primaria de la entidad.
*
* @return string
*/
public static function getPrimaryKey(): string
{
return "type_id";
}
}