javaee.module.backend.entities.users.AbstractUserHelperParent_1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-javaee-module Show documentation
Show all versions of common-javaee-module Show documentation
This Module contains common JavaEE Helper Classes.
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;
}