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

javaee.module.backend.entities.users.AbstractUserHelperParent_1 Maven / Gradle / Ivy

The newest version!
package javaee.module.backend.entities.users;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import java.util.Date;

import javaee.module.backend.entities.person.address.AbstractPersonalAddressHelper;

@MappedSuperclass
abstract class AbstractUserHelperParent_1< User > extends AbstractPersonalAddressHelper< User > {

	@Column( name = "IS_ACCOUNT_LOCKED", nullable = false )
	protected Boolean isAccountLocked;

	@Column( name = "IS_ACCOUNT_EXPIRED", nullable = false )
	protected Boolean isAccountExpired;

	@Column( name = "IS_ACCOUNT_DISABLED", nullable = false )
	protected Boolean isAccountDisabled;

	@Column( name = "IS_PASSWORD_EXPIRED", nullable = false )
	protected Boolean isPasswordExpired;

	@Column( name = "USERNAME", length = 100, nullable = false )
	protected String username;

	@Column( name = "PASSWORD", length = 300, nullable = false )
	protected String password;

	@Column( name = "INCORRECT_PASSWORD_COUNT", nullable = false )
	protected Integer incorrectPasswordCount;

	@Column( name = "LAST_PASSWORD_CHANGED_DATE", nullable = false )
	protected Date lastPasswordChangedDate;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy