correcao (fixes bug 6055)

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@41849 d1611594-4594-4d17-8e1d-87c2c4800839
master
lucas.taia 2015-03-02 13:17:24 +00:00
parent 08456e40ce
commit 03910f46ca
1 changed files with 11 additions and 1 deletions

View File

@ -47,6 +47,8 @@ public class PerfilFuncion implements Serializable {
@JoinColumn(name = "FUNCIONSISTEMA_ID", referencedColumnName = "FUNCIONSISTEMA_ID") @JoinColumn(name = "FUNCIONSISTEMA_ID", referencedColumnName = "FUNCIONSISTEMA_ID")
@ManyToOne @ManyToOne
private FuncionSistema funcionSistema; private FuncionSistema funcionSistema;
@Column(name = "INDLECTURA")
private Boolean indLectura;
public PerfilFuncion() { public PerfilFuncion() {
} }
@ -103,7 +105,15 @@ public class PerfilFuncion implements Serializable {
this.funcionSistema = funcionSistema; this.funcionSistema = funcionSistema;
} }
@Override public Boolean getIndLectura() {
return indLectura;
}
public void setIndLectura(Boolean indLectura) {
this.indLectura = indLectura;
}
@Override
public int hashCode() { public int hashCode() {
int hash = 0; int hash = 0;
hash += (perfilfuncionId != null ? perfilfuncionId.hashCode() : 0); hash += (perfilfuncionId != null ? perfilfuncionId.hashCode() : 0);