Correction of groups endpoint

This commit is contained in:
Filip Izydorczyk
2020-08-11 17:36:58 +02:00
parent 2e40e33545
commit e8ebcd3517
3 changed files with 31 additions and 2 deletions

View File

@ -30,6 +30,10 @@ public class Groups {
public Groups() {
}
public Long getId() {
return this.id;
}
public Lecturer getLecturer() {
return lecturer;
}

View File

@ -47,4 +47,9 @@ public class Lecturer {
public Lecturer() {
}
@Override
public String toString() {
return String.format("%s %s %s", this.title, this.name, this.surname);
}
}