Migrate hibernate xml annotation to annotations
This commit is contained in:
@@ -36,7 +36,7 @@ import javax.xml.bind.annotation.XmlRootElement;
|
||||
isGetterVisibility = JsonAutoDetect.Visibility.PUBLIC_ONLY)
|
||||
public class RestCollaboration {
|
||||
|
||||
private long id;
|
||||
private int id;
|
||||
private String email;
|
||||
private String role;
|
||||
|
||||
@@ -60,7 +60,7 @@ public class RestCollaboration {
|
||||
|
||||
}
|
||||
|
||||
public long getId() {
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
@@ -77,11 +77,11 @@ public class RestUser {
|
||||
user.setLastname(lastname);
|
||||
}
|
||||
|
||||
public long getId() {
|
||||
public int getId() {
|
||||
return user.getId();
|
||||
}
|
||||
|
||||
public void setId(long id) {
|
||||
public void setId(int id) {
|
||||
user.setId(id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user