15 lines
518 B
C#
15 lines
518 B
C#
|
|
using System;
|
||
|
|
|
||
|
|
namespace GestionIntegral.Api.Dtos.Distribucion
|
||
|
|
{
|
||
|
|
public class CambioParadaDto
|
||
|
|
{
|
||
|
|
public int IdRegistro { get; set; }
|
||
|
|
public int IdCanilla { get; set; }
|
||
|
|
public string NombreCanilla { get; set; } = string.Empty; // Para UI
|
||
|
|
public string Parada { get; set; } = string.Empty;
|
||
|
|
public string VigenciaD { get; set; } = string.Empty; // yyyy-MM-dd
|
||
|
|
public string? VigenciaH { get; set; } // yyyy-MM-dd o null
|
||
|
|
public bool EsActual => VigenciaH == null; // Propiedad calculada
|
||
|
|
}
|
||
|
|
}
|