Skip to content

Commit a5e0ada

Browse files
committed
test: define human id as object
Signed-off-by: Otavio Santana <[email protected]>
1 parent 4339fe4 commit a5e0ada

File tree

1 file changed

+3
-3
lines changed
  • jnosql-tinkerpop/src/test/java/org/eclipse/jnosql/databases/tinkerpop/mapping/entities

1 file changed

+3
-3
lines changed

jnosql-tinkerpop/src/test/java/org/eclipse/jnosql/databases/tinkerpop/mapping/entities/Human.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
public class Human {
2929

3030
@Id
31-
private long id;
31+
private Long id;
3232

3333
@Column
3434
private String name;
@@ -42,7 +42,7 @@ public class Human {
4242
private String ignore;
4343

4444

45-
public long getId() {
45+
public Long getId() {
4646
return id;
4747
}
4848

@@ -69,7 +69,7 @@ public boolean isAdult() {
6969
Human() {
7070
}
7171

72-
Human(long id, String name, int age, List<String> phones, String ignore) {
72+
Human(Long id, String name, int age, List<String> phones, String ignore) {
7373
this.id = id;
7474
this.name = name;
7575
this.age = age;

0 commit comments

Comments
 (0)