Project

General

Profile

1
package eu.dnetlib.usagestats.sushilite.domain;
2

    
3
import com.fasterxml.jackson.annotation.JsonProperty;
4

    
5
import java.util.ArrayList;
6
import java.util.List;
7

    
8
/**
9
 * Created by tsampikos on 31/10/2016.
10
 */
11
public class Customer {
12
    private String id = null;
13

    
14
    public void setReportItems(List<ReportItem> reportItems) {
15
        this.reportItems = reportItems;
16
    }
17

    
18
    private List<ReportItem> reportItems = new ArrayList<>();
19

    
20
    public Customer() {
21
    }
22

    
23
    public Customer(String id, List<ReportItem> reportItems) {
24
        this.id = id;
25
        this.reportItems = reportItems;
26
    }
27

    
28
    @JsonProperty("ID")
29
    public String getId() {
30
        return id;
31
    }
32

    
33
    @JsonProperty("ReportItems")
34
    public List<ReportItem> getReportItems() {
35
        return reportItems;
36
    }
37
}
(2-2/18)