72 lines
1.4 KiB
Plaintext
Executable File
72 lines
1.4 KiB
Plaintext
Executable File
package com.fp.viaticos.rules.enums;
|
|
|
|
/**
|
|
* Enumeracion en la que se define codigos de estado de una solicitud.
|
|
*
|
|
* @version 2.1
|
|
*/
|
|
public enum EnumEstadosSolicitud {
|
|
/**
|
|
* Código estado ingresado
|
|
*/
|
|
INGRESADO("IN"),
|
|
/**
|
|
* Código estado por aprobar
|
|
*/
|
|
ANULACION_POR_APROBAR("SAA"),
|
|
/**
|
|
* Código estado por aprobar
|
|
*/
|
|
POR_APROBAR("SPA"),
|
|
/**
|
|
* Código estado por corregir
|
|
*/
|
|
POR_CORREGIR("SPC"),
|
|
/**
|
|
* Código estado aprobado
|
|
*/
|
|
APROBADA("SAP"),
|
|
/**
|
|
* Código estado anulada
|
|
*/
|
|
ANULADA("SAN"),
|
|
/**
|
|
* Código estado por ingresar informe
|
|
*/
|
|
POR_ING_INFORME("IPI"),
|
|
/**
|
|
* Código estado informe aprobado
|
|
*/
|
|
INF_APROBADO("IAP"),
|
|
/**
|
|
* Código estado informe por aprobar
|
|
*/
|
|
INF_POR_APROBAR("IPA"),
|
|
/**
|
|
* Código estado informe por aprobar
|
|
*/
|
|
INF_POR_CORREGIR("IPC");
|
|
/**
|
|
* ACodigo de estatus de la solicitud.
|
|
*/
|
|
private String estatus;
|
|
|
|
/**
|
|
* @param texto
|
|
* @param codigo
|
|
*/
|
|
private EnumEstadosSolicitud(String estatus) {
|
|
this.estatus = estatus;
|
|
}
|
|
|
|
/**
|
|
* Entrega el valor de: estatus
|
|
*
|
|
* @return String
|
|
*/
|
|
public String getEstatus() {
|
|
return estatus;
|
|
}
|
|
|
|
}
|