Fix: renamed all the tables, with repo and controller associated to them (might have missed some), and fix some key dependency issues

This commit is contained in:
Théo Le Lez
2025-02-19 18:41:37 +01:00
parent 04a73073c1
commit 40afde89b7
54 changed files with 1161 additions and 1101 deletions

View File

@ -4,23 +4,22 @@ import enseirb.myinpulse.model.*;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.server.ResponseStatusException;
@Service
public class AdminApiService {
// TODO
public Iterable<Administrateurs> getProjects() {
public Iterable<Administrator> getProjects() {
throw new ResponseStatusException(HttpStatus.NOT_IMPLEMENTED, "Not implemented yet");
}
// TODO
public Iterable<Appointment> getUpcomingAppointments() {
public Iterable<DelAppointment> getUpcomingAppointments() {
throw new ResponseStatusException(HttpStatus.NOT_IMPLEMENTED, "Not implemented yet");
}
// TODO
public Iterable<Project> getPendingProjects() {
public Iterable<DelProject> getPendingProjects() {
throw new ResponseStatusException(HttpStatus.NOT_IMPLEMENTED, "Not implemented yet");
}
@ -30,12 +29,12 @@ public class AdminApiService {
}
// TODO
public void addNewProject(Project project) {
public void addNewProject(DelProject project) {
throw new ResponseStatusException(HttpStatus.NOT_IMPLEMENTED, "Not implemented yet");
}
// TODO
public void createAppointmentReport(String appointmentId, Report report) {
public void createAppointmentReport(String appointmentId, DelReport report) {
throw new ResponseStatusException(HttpStatus.NOT_IMPLEMENTED, "Not implemented yet");
}