diff --git a/src/com/rjconsultores/ventaboletos/constantes/ConstantesTipoValidaVenta.java b/src/com/rjconsultores/ventaboletos/constantes/ConstantesTipoValidaVenta.java new file mode 100644 index 000000000..171757094 --- /dev/null +++ b/src/com/rjconsultores/ventaboletos/constantes/ConstantesTipoValidaVenta.java @@ -0,0 +1,8 @@ +package com.rjconsultores.ventaboletos.constantes; + +public interface ConstantesTipoValidaVenta { + String COD_AGENCIA = "A"; + String COD_MOTORISTA = "M"; + String AGENCIA = "AGENCIA"; + String MOTORISTA = "MOTORISTA"; +} \ No newline at end of file diff --git a/src/com/rjconsultores/ventaboletos/entidad/Aidf.java b/src/com/rjconsultores/ventaboletos/entidad/Aidf.java index 51533fbe0..04eb84d02 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/Aidf.java +++ b/src/com/rjconsultores/ventaboletos/entidad/Aidf.java @@ -42,6 +42,7 @@ public class Aidf implements java.io.Serializable { private Date fecmodif; private Integer usuarioId; private String cnpj; + private String tipoValidaVenta; public Aidf() { } @@ -263,7 +264,13 @@ public class Aidf implements java.io.Serializable { public void setUsuarioId(Integer _usuarioId) { usuarioId = _usuarioId; } - - - -} + + @Column(name="TIPOVALIDAVENTA") + public String getTipoValidaVenta() { + return tipoValidaVenta; + } + + public void setTipoValidaVenta(String tipoValidaVenta) { + this.tipoValidaVenta = tipoValidaVenta; + } +} \ No newline at end of file