dnet45/modules/dnet-openaire-usage-stats-sushilite/src/main/java/eu/dnetlib/usagestats/sushilite/domain/Period.java @ 52891
1 |
package eu.dnetlib.usagestats.sushilite.domain; |
---|---|
2 |
|
3 |
import com.fasterxml.jackson.annotation.JsonProperty; |
4 |
|
5 |
/**
|
6 |
* Created by tsampikos on 31/10/2016.
|
7 |
*/
|
8 |
public class Period { |
9 |
private String begin; |
10 |
private String end; |
11 |
|
12 |
public Period() { |
13 |
}
|
14 |
|
15 |
public Period(String begin, String end) { |
16 |
this.begin = begin; |
17 |
this.end = end; |
18 |
}
|
19 |
|
20 |
@JsonProperty("Begin") |
21 |
public String getBegin() { |
22 |
return begin; |
23 |
}
|
24 |
|
25 |
@JsonProperty("End") |
26 |
public String getEnd() { |
27 |
return end; |
28 |
}
|
29 |
}
|