namespace Domain.Constants
{
    public static class ExpeditionStatusExtensions
    {
        public static string ToLabel(this ExpeditionStatus e) => e switch
        {
            ExpeditionStatus.Emitida => "Emitida",
            ExpeditionStatus.EnTransito => "En tránsito",
            ExpeditionStatus.EnDestino => "En destino",
            ExpeditionStatus.Retorno => "Retorno",
            ExpeditionStatus.Cerrada => "Cerrada",
            ExpeditionStatus.Anulada => "Anulada",
            _ => e.ToString()
        };
    }
}
