changed the type of the IDs inside bearbeitet to the correct type

This commit is contained in:
Michael 2019-03-23 17:49:57 +01:00
parent f7ea304d40
commit ffca748e93
2 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ public class User {
private String salt;
@ManyToOne
public Team team;
private Team team;
public int getId() {
return id;

View File

@ -12,13 +12,13 @@ public class bearbeitet {
private int id;
@OneToOne
private User userID;
private int userID;
@OneToOne
private Cache cacheID;
private int cacheID;
@OneToOne
private CacheAccesDefinition cacheAccesDefinitionID;
private int cacheAccesDefinitionID;
public int getId() {
return id;
@ -28,27 +28,27 @@ public class bearbeitet {
this.id = id;
}
public User getUserID() {
public int getUserID() {
return userID;
}
public void setUserID(User userID) {
public void setUserID(int userID) {
this.userID = userID;
}
public Cache getCacheID() {
public int getCacheID() {
return cacheID;
}
public void setCacheID(Cache cacheID) {
public void setCacheID(int cacheID) {
this.cacheID = cacheID;
}
public CacheAccesDefinition getCacheAccesDefinitionID() {
public int getCacheAccesDefinitionID() {
return cacheAccesDefinitionID;
}
public void setCacheAccesDefinitionID(CacheAccesDefinition cacheAccesDefinitionID) {
public void setCacheAccesDefinitionID(int cacheAccesDefinitionID) {
this.cacheAccesDefinitionID = cacheAccesDefinitionID;
}
}