Реализация UI

This commit is contained in:
WarL0ck 2017-12-04 22:59:44 +07:00
parent 762be3ee29
commit d9beeab2cd
3 changed files with 52 additions and 0 deletions

6
.idea/encodings.xml generated Normal file
View 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
View File

@ -0,0 +1,4 @@
#Rest server config
#Mon Dec 04 22:58:15 KRAT 2017
port=8080
url=http\://localhost

View 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 + ">";
}
}