fixes bug #9290
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@71075 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
6031c95f1f
commit
c6fa137f88
|
@ -99,6 +99,9 @@ public class Usuario implements Serializable, Authentication, UserDetails {
|
|||
|
||||
@Column(name = "TEMPODEVOLUCAOPASSAGEM")
|
||||
private Integer tempoDevolucaoPassagem;
|
||||
|
||||
@Column(name = "INDEXPIRASENHA")
|
||||
private Boolean indExpiraSenha;
|
||||
|
||||
/* Lista de permissoes do usuario */
|
||||
@Transient
|
||||
|
@ -114,11 +117,13 @@ public class Usuario implements Serializable, Authentication, UserDetails {
|
|||
|
||||
public Usuario() {
|
||||
tempoDevolucaoPassagem = 0;
|
||||
indExpiraSenha = false;
|
||||
}
|
||||
|
||||
public Usuario(Integer usuarioId) {
|
||||
this.usuarioId = usuarioId;
|
||||
tempoDevolucaoPassagem = 0;
|
||||
indExpiraSenha = false;
|
||||
}
|
||||
|
||||
public Integer getUsuarioId() {
|
||||
|
@ -432,4 +437,12 @@ public class Usuario implements Serializable, Authentication, UserDetails {
|
|||
this.tempoDevolucaoPassagem = tempoDevolucaoPassagem;
|
||||
}
|
||||
|
||||
public Boolean getIndExpiraSenha() {
|
||||
return indExpiraSenha;
|
||||
}
|
||||
|
||||
public void setIndExpiraSenha(Boolean indExpiraSenha) {
|
||||
this.indExpiraSenha = indExpiraSenha;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue