Реализован класс UserDTO
This commit is contained in:
parent
ba59848cdc
commit
2e45bfca54
31
nekontakte/src/main/java/com/example/nekontakte/UserDTO.java
Normal file
31
nekontakte/src/main/java/com/example/nekontakte/UserDTO.java
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
package com.example.nekontakte;
|
||||||
|
|
||||||
|
public class UserDTO {
|
||||||
|
private Integer id;
|
||||||
|
private String username;
|
||||||
|
private String password;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUsername() {
|
||||||
|
return username;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPassword() {
|
||||||
|
return password;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUsername(String username) {
|
||||||
|
this.username = username;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPassword(String password) {
|
||||||
|
this.password = password;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user