git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@23294 d1611594-4594-4d17-8e1d-87c2c4800839
parent
f42902b3e1
commit
bd134882a0
|
@ -63,6 +63,13 @@ public class CategoriaDescuento implements Serializable {
|
|||
private List<CategoriaPeriodo> categoriaPeriodoList;
|
||||
@Column(name = "INDIMPRIMEBOLETO")
|
||||
private Boolean indImprimeBoleto;
|
||||
@Column(name = "INDCUOTA")
|
||||
private Boolean indCuota;
|
||||
@Column(name = "INDCUOTATRAMO")
|
||||
private Boolean indCuotaTramo;
|
||||
@Column(name = "TIEMPOCUOTA")
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date tiempoCuota;
|
||||
|
||||
public CategoriaDescuento() {
|
||||
}
|
||||
|
@ -173,6 +180,7 @@ public class CategoriaDescuento implements Serializable {
|
|||
this.indImprimeBoleto = indImprimeBoleto;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == null) {
|
||||
|
@ -203,4 +211,28 @@ public class CategoriaDescuento implements Serializable {
|
|||
public String toString() {
|
||||
return "com.rjconsultores.ventaboletos.entidad.CategoriaDescuento[categoriadescuentoId=" + categoriadescuentoId + "]";
|
||||
}
|
||||
|
||||
public Boolean getIndCuota() {
|
||||
return indCuota;
|
||||
}
|
||||
|
||||
public void setIndCuota(Boolean indCuota) {
|
||||
this.indCuota = indCuota;
|
||||
}
|
||||
|
||||
public Boolean getIndCuotaTramo() {
|
||||
return indCuotaTramo;
|
||||
}
|
||||
|
||||
public void setIndCuotaTramo(Boolean indCuotaTramo) {
|
||||
this.indCuotaTramo = indCuotaTramo;
|
||||
}
|
||||
|
||||
public Date getTiempoCuota() {
|
||||
return tiempoCuota;
|
||||
}
|
||||
|
||||
public void setTiempoCuota(Date tiempoCuota) {
|
||||
this.tiempoCuota = tiempoCuota;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -92,15 +92,6 @@ public class TramoRutaServiceImpl implements TramoRutaService {
|
|||
|
||||
this.validarGenerarTramosRutas(rutaTramoVO);
|
||||
|
||||
//Validação retirada
|
||||
//no Brasil pode existir rutas com o mesmo nome (Ida e Volta por exemplo legalmente tem o mesmo nome)
|
||||
// Fabio e Xande
|
||||
// List<Ruta> lsRutaExiste = rutaService.buscar(rutaTramoVO.getDescRuta(), rutaTramoVO.getClaseServicio(), rutaTramoVO.getSolicitaNombrePasajero());
|
||||
//
|
||||
// if (!lsRutaExiste.isEmpty()) {
|
||||
// throw new BusinessException("MSG.Registro.Existe");
|
||||
// }
|
||||
|
||||
// Genero los tramos y tramos servicios de la combinacion que no existen
|
||||
// Aqui si genera tambien los tramos de la secuencia
|
||||
for (SecuenciaRutaTramoVO s : rutaTramoVO.getLsCombinacionRutaTramoVO()) {
|
||||
|
|
Loading…
Reference in New Issue