Реализация UI
This commit is contained in:
parent
762be3ee29
commit
d9beeab2cd
6
.idea/encodings.xml
generated
Normal file
6
.idea/encodings.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
4
config.properties
Normal file
4
config.properties
Normal file
@ -0,0 +1,4 @@
|
||||
#Rest server config
|
||||
#Mon Dec 04 22:58:15 KRAT 2017
|
||||
port=8080
|
||||
url=http\://localhost
|
42
src/main/java/ru/cft/task/restClient/EmailRecord.java
Normal file
42
src/main/java/ru/cft/task/restClient/EmailRecord.java
Normal file
@ -0,0 +1,42 @@
|
||||
package ru.cft.task.restClient;
|
||||
|
||||
public class EmailRecord {
|
||||
private long id;
|
||||
private String name;
|
||||
private String email;
|
||||
|
||||
public EmailRecord(long id, String name, String email) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Rec:" + name + "<" + email + ">";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user