dnet45/modules/uoa-admin-tools/src/main/java/eu/dnetlib/uoaadmintools/entities/Subscriber.java @ 55027
1 |
package eu.dnetlib.uoaadmintools.entities; |
---|---|
2 |
|
3 |
import com.fasterxml.jackson.annotation.JsonProperty; |
4 |
import org.springframework.data.annotation.Id; |
5 |
|
6 |
import java.util.List; |
7 |
|
8 |
/**
|
9 |
* Created by argirok on 2/3/2018.
|
10 |
*/
|
11 |
public class Subscriber { |
12 |
@Id
|
13 |
@JsonProperty("_id") |
14 |
private String id; |
15 |
|
16 |
private String email; |
17 |
|
18 |
public String getId() { |
19 |
return id; |
20 |
}
|
21 |
|
22 |
public void setId(String id) { |
23 |
this.id = id; |
24 |
}
|
25 |
|
26 |
public String getEmail() { |
27 |
return email; |
28 |
}
|
29 |
|
30 |
public void setEmail(String email) { |
31 |
this.email = email; |
32 |
}
|
33 |
|
34 |
@Override
|
35 |
public String toString() { |
36 |
return "Subscriber{" + |
37 |
"id='" + id + '\'' + |
38 |
", email='" + email + '\'' + |
39 |
'}'; |
40 |
}
|
41 |
}
|