fixes bug #8086
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@61437 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
d665eda909
commit
957ecadf3b
|
@ -2,13 +2,15 @@ package com.rjconsultores.ventaboletos.enums;
|
||||||
|
|
||||||
public enum SituacaoVendaPacote {
|
public enum SituacaoVendaPacote {
|
||||||
|
|
||||||
PAGO("Pago"),
|
PAGO(0,"Pago"),
|
||||||
RESERVA("Reserva"),
|
RESERVA(1,"Reserva"),
|
||||||
CANCELADO("Cancelado");
|
CANCELADO(2,"Cancelado");
|
||||||
|
|
||||||
|
private Integer value;
|
||||||
private String descricao;
|
private String descricao;
|
||||||
|
|
||||||
private SituacaoVendaPacote(String descricao) {
|
private SituacaoVendaPacote(Integer value, String descricao) {
|
||||||
|
this.value = value;
|
||||||
this.descricao = descricao;
|
this.descricao = descricao;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,4 +32,8 @@ public enum SituacaoVendaPacote {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getShortValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue