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

com.infusers.core.user.dto.UserCredDto Maven / Gradle / Ivy

There is a newer version: 2024.12.0008
Show newest version
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