fixes bug#0012471
dev: fabricio qua: marcelo Para a venda em aberto não foi possível validar por tipo de passagem. Em conversa com a Junia foi sugerido criar o campo telefone obrigatório no cadastro de linha, onde está sendo feita a validação. Em anexo segue a imagem. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@87059 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
3b87bfefc1
commit
1f84900725
|
@ -74,6 +74,9 @@ public class Ruta implements Serializable, Comparable<Ruta> {
|
||||||
@Column(name = "indnombreobligatorio")
|
@Column(name = "indnombreobligatorio")
|
||||||
private Boolean indNombreObligatorio;
|
private Boolean indNombreObligatorio;
|
||||||
|
|
||||||
|
@Column(name = "INDTELEFONEOBRIGATORIO")
|
||||||
|
private Boolean indTelefoneObrigatorio;
|
||||||
|
|
||||||
@OneToMany(mappedBy = "ruta", cascade = CascadeType.ALL)
|
@OneToMany(mappedBy = "ruta", cascade = CascadeType.ALL)
|
||||||
private List<RutaEmpresa> lsRutaEmpresa;
|
private List<RutaEmpresa> lsRutaEmpresa;
|
||||||
|
|
||||||
|
@ -161,6 +164,7 @@ public class Ruta implements Serializable, Comparable<Ruta> {
|
||||||
ruta.fecmodif = other.fecmodif;
|
ruta.fecmodif = other.fecmodif;
|
||||||
ruta.grupoRuta = other.grupoRuta;
|
ruta.grupoRuta = other.grupoRuta;
|
||||||
ruta.indNombreObligatorio = other.indNombreObligatorio;
|
ruta.indNombreObligatorio = other.indNombreObligatorio;
|
||||||
|
ruta.indTelefoneObrigatorio = other.indTelefoneObrigatorio;
|
||||||
ruta.indSentidoIda = other.indSentidoIda;
|
ruta.indSentidoIda = other.indSentidoIda;
|
||||||
ruta.indTribPedagio = other.indTribPedagio;
|
ruta.indTribPedagio = other.indTribPedagio;
|
||||||
ruta.indTribTarifa = other.indTribTarifa;
|
ruta.indTribTarifa = other.indTribTarifa;
|
||||||
|
@ -433,6 +437,14 @@ public class Ruta implements Serializable, Comparable<Ruta> {
|
||||||
this.indNombreObligatorio = indNombreObligatorio;
|
this.indNombreObligatorio = indNombreObligatorio;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Boolean getIndTelefoneObrigatorio() {
|
||||||
|
return indTelefoneObrigatorio;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndTelefoneObrigatorio(Boolean indTelefoneObrigatorio) {
|
||||||
|
this.indTelefoneObrigatorio = indTelefoneObrigatorio;
|
||||||
|
}
|
||||||
|
|
||||||
public Integer getCantEixos() {
|
public Integer getCantEixos() {
|
||||||
return cantEixos;
|
return cantEixos;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue