com.infusers.core.user.dto.UserCredDto Maven / Gradle / Ivy
package com.infusers.core.user.dto;
import org.springframework.data.redis.core.RedisHash;
import com.infusers.core.user.APIUser;
@RedisHash("UserCredDto")
public final class UserCredDto {
private static final long serialVersionUID = -4439114469417994311L;
private String username;
private String password;
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public void copy(APIUser apiUser) {
if(apiUser!=null) {
username = apiUser.getUsername();
password = apiUser.getPassword();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy