Implementación AnomalIA - Fix de dropdowns y permisos.
All checks were successful
Optimized Build and Deploy / remote-build-and-deploy (push) Successful in 5m17s

This commit is contained in:
2025-06-30 15:26:14 -03:00
parent 95aa09d62a
commit c96d259892
59 changed files with 1430 additions and 337 deletions

View File

@@ -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
}
}

View File

@@ -0,0 +1,9 @@
namespace GestionIntegral.Api.Dtos.Distribucion
{
public class CanillaDropdownDto
{
public int IdCanilla { get; set; }
public int? Legajo { get; set; }
public string NomApe { get; set; } = string.Empty;
}
}

View File

@@ -0,0 +1,8 @@
namespace GestionIntegral.Api.Dtos.Distribucion
{
public class OtroDestinoDropdownDto
{
public int IdDestino { get; set; }
public string Nombre { get; set; } = string.Empty;
}
}

View File

@@ -4,6 +4,7 @@ namespace GestionIntegral.Api.Dtos.Distribucion
{
public int IdPublicacion { get; set; }
public string Nombre { get; set; } = string.Empty;
public bool Habilitada { get; set; } // Simplificamos a bool, el backend manejará el default si es null
public string NombreEmpresa { get; set; } = string.Empty;
public bool Habilitada { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace GestionIntegral.Api.Dtos.Impresion
{
public class EstadoBobinaDropdownDto
{
public int IdEstadoBobina { get; set; }
public string Denominacion { get; set; } = string.Empty;
}
}