All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.evrythng.thng.resource.model.store.Operator Maven / Gradle / Ivy

There is a newer version: 1.33
Show newest version
/*
 * (c) Copyright Reserved EVRYTHNG Limited 2016. All rights reserved.
 * Use of this material is subject to license.
 * Copying and unauthorised use of this material strictly prohibited.
 */
package com.evrythng.thng.resource.model.store;

/**
 * Model representation for operator.
 */
public class Operator extends AbstractUser {

	private static final long serialVersionUID = 2282241536928517609L;
	private OperatorStatus operatorStatus;
	private String registrationCode;

	private Integer loginAttempts;
	private Long authBlockedUntil;

	private Boolean tfaEnabled;

	public Boolean getTfaEnabled() {
		return tfaEnabled;
	}

	public void setTfaEnabled(final Boolean tfaEnabled) {
		this.tfaEnabled = tfaEnabled;
	}

	public OperatorStatus getOperatorStatus() {

		return operatorStatus;
	}

	public void setOperatorStatus(final OperatorStatus operatorStatus) {

		this.operatorStatus = operatorStatus;
	}

	public void setRegistrationCode(final String registrationCode) {

		this.registrationCode = registrationCode;
	}

	public String getRegistrationCode() {

		return registrationCode;
	}

	public Integer getLoginAttempts() {
		return loginAttempts;
	}

	public void setLoginAttempts(final Integer loginAttempts) {
		this.loginAttempts = loginAttempts;
	}

	public Long getAuthBlockedUntil() {

		return authBlockedUntil;
	}

	public void setAuthBlockedUntil(final Long authBlockedUntil) {
		this.authBlockedUntil = authBlockedUntil;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy