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; private String salt;
@ManyToOne @ManyToOne
public Team team; private Team team;
public int getId() { public int getId() {
return id; return id;

View File

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