78 lines
1.6 KiB
Java
78 lines
1.6 KiB
Java
package shine.db.entities;
|
|
|
|
public class EspPairingSettingsEntry {
|
|
|
|
private String login;
|
|
private boolean enabled;
|
|
private String passwordHash;
|
|
private int ttlSeconds;
|
|
private int failedAttempts;
|
|
private long firstFailedAtMs;
|
|
private long blockedUntilMs;
|
|
private long updatedAtMs;
|
|
|
|
public String getLogin() {
|
|
return login;
|
|
}
|
|
|
|
public void setLogin(String login) {
|
|
this.login = login;
|
|
}
|
|
|
|
public boolean isEnabled() {
|
|
return enabled;
|
|
}
|
|
|
|
public void setEnabled(boolean enabled) {
|
|
this.enabled = enabled;
|
|
}
|
|
|
|
public String getPasswordHash() {
|
|
return passwordHash;
|
|
}
|
|
|
|
public void setPasswordHash(String passwordHash) {
|
|
this.passwordHash = passwordHash;
|
|
}
|
|
|
|
public int getTtlSeconds() {
|
|
return ttlSeconds;
|
|
}
|
|
|
|
public void setTtlSeconds(int ttlSeconds) {
|
|
this.ttlSeconds = ttlSeconds;
|
|
}
|
|
|
|
public int getFailedAttempts() {
|
|
return failedAttempts;
|
|
}
|
|
|
|
public void setFailedAttempts(int failedAttempts) {
|
|
this.failedAttempts = failedAttempts;
|
|
}
|
|
|
|
public long getFirstFailedAtMs() {
|
|
return firstFailedAtMs;
|
|
}
|
|
|
|
public void setFirstFailedAtMs(long firstFailedAtMs) {
|
|
this.firstFailedAtMs = firstFailedAtMs;
|
|
}
|
|
|
|
public long getBlockedUntilMs() {
|
|
return blockedUntilMs;
|
|
}
|
|
|
|
public void setBlockedUntilMs(long blockedUntilMs) {
|
|
this.blockedUntilMs = blockedUntilMs;
|
|
}
|
|
|
|
public long getUpdatedAtMs() {
|
|
return updatedAtMs;
|
|
}
|
|
|
|
public void setUpdatedAtMs(long updatedAtMs) {
|
|
this.updatedAtMs = updatedAtMs;
|
|
}
|
|
}
|