-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSmallBenchmarkObject.java
62 lines (52 loc) · 1.32 KB
/
SmallBenchmarkObject.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package org.sfm.beans;
import org.springframework.jdbc.roma.config.provider.annotation.RowMapperField;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="test_small_benchmark_object")
public class SmallBenchmarkObject {
@Id
@RowMapperField(columnName="ID")
private long id;
@RowMapperField(columnName="YEAR_STARTED")
private int yearStarted;
@RowMapperField(columnName = "NAME")
private String name;
@RowMapperField(columnName="EMAIL")
private String email;
@Column(name="ID")
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
@Column(name="NAME")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Column(name="EMAIL")
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
@Column(name="YEAR_STARTED")
public int getYearStarted() {
return yearStarted;
}
public void setYearStarted(int yearStarted) {
this.yearStarted = yearStarted;
}
@Override
public String toString() {
return "SmallBenchmarkObject [id=" + id + ", yearStarted="
+ yearStarted + ", name=" + name + ", email=" + email + "]";
}
}