1
0
forked from PGL/Clyde

Create new constructor for ReinscriptionRequest so you don't have to worry about the type of the request

This commit is contained in:
LeoMoulin 2024-03-12 17:53:41 +01:00
parent b7a574a312
commit 66282bce9f

View File

@ -31,6 +31,12 @@ public class ReinscriptionRequest {
this.type = type;
}
public ReinscriptionRequest(User user, Cursus newCursus, RequestState state){
this.user = user;
this.newCursus = newCursus;
this.state = state;
}
public int getId() {
return id;
}