restx.jongo.UserCredentials Maven / Gradle / Ivy
The newest version!
package restx.jongo;
import org.joda.time.DateTime;
import org.jongo.marshall.jackson.oid.Id;
/**
*/
public class UserCredentials {
@Id
private String userRef;
private String passwordHash;
private DateTime lastUpdated;
public DateTime getLastUpdated() {
return lastUpdated;
}
public String getUserRef() {
return userRef;
}
public String getPasswordHash() {
return passwordHash;
}
public UserCredentials setUserRef(final String userRef) {
this.userRef = userRef;
return this;
}
public UserCredentials setPasswordHash(final String passwordHash) {
this.passwordHash = passwordHash;
return this;
}
public UserCredentials setLastUpdated(final DateTime lastUpdated) {
this.lastUpdated = lastUpdated;
return this;
}
@Override
public String toString() {
return "UserCredentials{" +
"userRef='" + userRef + '\'' +
", passwordHash='XXXXXXXXXXXX'" +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy