Implementación AnomalIA - Fix de dropdowns y permisos.
All checks were successful
Optimized Build and Deploy / remote-build-and-deploy (push) Successful in 5m17s
All checks were successful
Optimized Build and Deploy / remote-build-and-deploy (push) Successful in 5m17s
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
|
||||
namespace GestionIntegral.Api.Dtos.Anomalia
|
||||
{
|
||||
public class AlertaGenericaDto
|
||||
{
|
||||
public int IdAlerta { get; set; }
|
||||
public DateTime FechaDeteccion { get; set; }
|
||||
public string TipoAlerta { get; set; } = string.Empty;
|
||||
public string Entidad { get; set; } = string.Empty;
|
||||
public int IdEntidad { get; set; }
|
||||
public string Mensaje { get; set; } = string.Empty;
|
||||
public DateTime FechaAnomalia { get; set; }
|
||||
public bool Leida { get; set; }
|
||||
|
||||
// Propiedades que pueden ser nulas porque no aplican a todos los tipos de alerta
|
||||
public int? CantidadEnviada { get; set; }
|
||||
public int? CantidadDevuelta { get; set; }
|
||||
public decimal? PorcentajeDevolucion { get; set; }
|
||||
|
||||
// Podríamos añadir más propiedades opcionales en el futuro
|
||||
// public string? NombreEntidad { get; set; } // Por ejemplo, el nombre del canillita
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user