34 lines
651 B
Plaintext
Executable File
34 lines
651 B
Plaintext
Executable File
package com.fp.frontend.webservices.rest.dto;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public class LoginResult implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
private String username;
|
|
private String token;
|
|
public LoginResult() {}
|
|
|
|
public LoginResult(String username, String token) {
|
|
super();
|
|
this.username = username;
|
|
this.token = token;
|
|
}
|
|
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
public String getToken() {
|
|
return token;
|
|
}
|
|
public void setToken(String token) {
|
|
this.token = token;
|
|
}
|
|
|
|
|
|
}
|