-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from InnoTutor/develop
/my-students response includes info about enroller and a card #20
- Loading branch information
Showing
4 changed files
with
99 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/main/java/innotutor/innotutor_backend/dto/enrollment/MyStudentDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package innotutor.innotutor_backend.dto.enrollment; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class MyStudentDTO { | ||
private Long enrollmentId; | ||
private Long studentId; | ||
private String studentName; | ||
private String studentSurname; | ||
private String studentEmail; | ||
private String studentContacts; | ||
private String studentDescription; | ||
private String studentPicture; | ||
private Long cardId; | ||
private String subject; | ||
private Double rating; | ||
private Integer countVoted; | ||
private String description; | ||
private boolean hidden; | ||
private List<String> sessionFormat; | ||
private List<String> sessionType; | ||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/innotutor/innotutor_backend/dto/enrollment/RequestedStudentsListInfoDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package innotutor.innotutor_backend.dto.enrollment; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class RequestedStudentsListInfoDTO { | ||
private List<MyStudentDTO> newStudents; | ||
private List<MyStudentDTO> acceptedStudents; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters