Package com.axelor.auth.db
Class PasswordResetToken
- java.lang.Object
-
- com.axelor.db.Model
-
- com.axelor.auth.db.AuditableModel
-
- com.axelor.auth.db.PasswordResetToken
-
@Entity public class PasswordResetToken extends AuditableModel
-
-
Constructor Summary
Constructors Constructor Description PasswordResetToken()
PasswordResetToken(User user, String token, LocalDateTime expireAt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Boolean
getConsumed()
LocalDateTime
getExpireAt()
Long
getId()
String
getToken()
User
getUser()
int
hashCode()
void
setConsumed(Boolean consumed)
void
setExpireAt(LocalDateTime expireAt)
void
setId(Long id)
void
setToken(String token)
void
setUser(User user)
String
toString()
-
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
-
Methods inherited from class com.axelor.db.Model
getArchived, getCid, getVersion, isSelected, setArchived, setCid, setSelected, setVersion
-
-
-
-
Constructor Detail
-
PasswordResetToken
public PasswordResetToken()
-
PasswordResetToken
public PasswordResetToken(User user, String token, LocalDateTime expireAt)
-
-
Method Detail
-
getUser
public User getUser()
-
setUser
public void setUser(User user)
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
getExpireAt
public LocalDateTime getExpireAt()
-
setExpireAt
public void setExpireAt(LocalDateTime expireAt)
-
getConsumed
public Boolean getConsumed()
-
setConsumed
public void setConsumed(Boolean consumed)
-
-