NotificationDto
_idstringrequired
IDstringrequired
titlestringrequired
messagestringrequired
isReadbooleanrequired
user object
_idstringrequired
Identificador del usuario.
Example:
69c4b4fc528c5e1f4ab79d0cnamestring
Nombre completo del usuario.
Example:
Mayausernamestringrequired
Nombre de usuario único.
Example:
mayadocumentNumberstring
Número de documento del usuario.
Example:
6803296documentTypestring
Tipo de documento del usuario.
Example:
CCemailstring
Correo electrónico del usuario.
Example:
maya@vibra.localkeepSessionActiveboolean
Indica si mantiene sesión activa.
Example:
truerole object
Rol asociado (cuando está poblado).
_idstringrequired
Identificador del rol.
Example:
66c9cce47e6a95e98116c0abnamestringrequired
Nombre del rol.
Example:
Administradorcompany object
Compañía asociada (cuando está poblada).
_idstringrequired
Identificador de la compañía/institución.
Example:
66c9cce47e6a95e98116c0acnamestringrequired
Nombre de la compañía/institución.
Example:
Institución Demoavatarstring
Avatar del usuario.
Example:
default-user.pnggenderstring
Género del usuario.
Example:
MALEbirthDatestring
Fecha de nacimiento (ISO string).
Example:
2000-01-01T00:00:00.000ZisLoggedboolean
Estado de conexión en tiempo real.
Example:
falsetotalScorenumber
Puntaje acumulado del usuario.
Example:
0serialstring
Serial interno del usuario.
Example:
USR-0001notificationType objectrequired
_idstringrequired
titlestringrequired
descriptionstring
levelnumber
notificationChannel objectrequired
_idstringrequired
titlestringrequired
descriptionstring
prioritynumberrequired
serialstring
isActiveboolean
deletedboolean
createdBystring
createdAtstring
updatedAtstring
editedBystring
editedAtstring
NotificationDto
{
"_id": "string",
"ID": "string",
"title": "string",
"message": "string",
"isRead": true,
"user": {
"_id": "69c4b4fc528c5e1f4ab79d0c",
"name": "Maya",
"username": "maya",
"documentNumber": "6803296",
"documentType": "CC",
"email": "maya@vibra.local",
"keepSessionActive": true,
"role": {
"_id": "66c9cce47e6a95e98116c0ab",
"name": "Administrador"
},
"company": {
"_id": "66c9cce47e6a95e98116c0ac",
"name": "Institución Demo"
},
"avatar": "default-user.png",
"gender": "MALE",
"birthDate": "2000-01-01T00:00:00.000Z",
"isLogged": false,
"totalScore": 0,
"serial": "USR-0001"
},
"notificationType": {
"_id": "string",
"title": "string",
"description": "string",
"level": 0
},
"notificationChannel": {
"_id": "string",
"title": "string",
"description": "string"
},
"priority": 0,
"serial": "string",
"isActive": true,
"deleted": true,
"createdBy": "string",
"createdAt": "string",
"updatedAt": "string",
"editedBy": "string",
"editedAt": "string"
}