1
|
/**
|
2
|
* Created by eri_k on 2/20/2016.
|
3
|
*/
|
4
|
|
5
|
package eu.dnetlib.usagestats.domain;
|
6
|
|
7
|
import javax.persistence.Entity;
|
8
|
import javax.persistence.GeneratedValue;
|
9
|
import javax.persistence.GenerationType;
|
10
|
import javax.persistence.Id;
|
11
|
import java.io.Serializable;
|
12
|
import java.util.UUID;
|
13
|
|
14
|
|
15
|
//@Entity(name = "usageStats")
|
16
|
public class UsageStats implements Serializable {
|
17
|
|
18
|
public UsageStats() {
|
19
|
}
|
20
|
|
21
|
/* @Id
|
22
|
@GeneratedValue(strategy = GenerationType.IDENTITY)*/
|
23
|
private String id;
|
24
|
private String name;
|
25
|
private int value;
|
26
|
|
27
|
public String getId() {
|
28
|
return id;
|
29
|
}
|
30
|
|
31
|
public void setId(String id) {
|
32
|
this.id = id;
|
33
|
}
|
34
|
|
35
|
public String getName() {
|
36
|
return name;
|
37
|
}
|
38
|
|
39
|
public void setName(String name) {
|
40
|
this.name = name;
|
41
|
}
|
42
|
|
43
|
public int getValue() {
|
44
|
return value;
|
45
|
}
|
46
|
|
47
|
public void setValue(int value) {
|
48
|
this.value = value;
|
49
|
}
|
50
|
}
|