Удалить 'src/main/java/com/example/demo/UserTest.java'
This commit is contained in:
parent
5750643924
commit
744c43d028
@ -1,42 +0,0 @@
|
||||
package com.example.demo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
public class UserTest {
|
||||
private String handle;
|
||||
private String email;
|
||||
private String name;
|
||||
private String password;
|
||||
|
||||
public UserTest() {
|
||||
}
|
||||
|
||||
@JsonCreator
|
||||
public UserTest(
|
||||
@JsonProperty(value = "handle") String handle,
|
||||
@JsonProperty(value = "email") String email,
|
||||
@JsonProperty(value = "name") String name,
|
||||
@JsonProperty(value = "password") String password) {
|
||||
this.handle = handle;
|
||||
this.email = email;
|
||||
this.name = name;
|
||||
this.password = password;
|
||||
}
|
||||
public String getHandle() {
|
||||
return handle;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user