|
|
@@ -16,7 +16,7 @@ public class Volunteer {
|
|
|
|
|
|
@Id
|
|
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
|
|
- private int id;
|
|
|
+ private Long id;
|
|
|
private String name;
|
|
|
private String surname;
|
|
|
private String phone;
|
|
|
@@ -34,11 +34,11 @@ public class Volunteer {
|
|
|
this.competenceIdList = new ArrayList<Long>();
|
|
|
}
|
|
|
|
|
|
- public int getId() {
|
|
|
+ public Long getId() {
|
|
|
return this.id;
|
|
|
}
|
|
|
|
|
|
- public void setId(int id) {
|
|
|
+ public void setId(Long id) {
|
|
|
this.id = id;
|
|
|
}
|
|
|
|