-
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.
add getStudentsThatPassedCourse (cursada y final) endpoint for a cour…
…se (#108)
- Loading branch information
Showing
8 changed files
with
90 additions
and
20 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
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
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
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
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
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
27 changes: 27 additions & 0 deletions
27
webapp/src/main/java/ar/edu/itba/paw/webapp/models/StudentWithGradeDTO.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,27 @@ | ||
package ar.edu.itba.paw.webapp.models; | ||
|
||
import java.math.BigDecimal; | ||
|
||
public class StudentWithGradeDTO { | ||
private StudentIndexDTO student; | ||
private BigDecimal grade; | ||
|
||
public StudentWithGradeDTO() { | ||
} | ||
|
||
public StudentIndexDTO getStudent() { | ||
return student; | ||
} | ||
|
||
public void setStudent(StudentIndexDTO student) { | ||
this.student = student; | ||
} | ||
|
||
public BigDecimal getGrade() { | ||
return grade; | ||
} | ||
|
||
public void setGrade(BigDecimal grade) { | ||
this.grade = grade; | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
webapp/src/main/java/ar/edu/itba/paw/webapp/models/StudentsWithGradeList.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,24 @@ | ||
package ar.edu.itba.paw.webapp.models; | ||
|
||
import java.util.List; | ||
|
||
|
||
public class StudentsWithGradeList { | ||
|
||
private List<StudentWithGradeDTO> students; | ||
|
||
public StudentsWithGradeList() { | ||
} | ||
|
||
public StudentsWithGradeList(final List<StudentWithGradeDTO> studentWithGradeDTOS) { | ||
this.students = studentWithGradeDTOS; | ||
} | ||
|
||
public List<StudentWithGradeDTO> getStudents() { | ||
return students; | ||
} | ||
|
||
public void setStudents(final List<StudentWithGradeDTO> students) { | ||
this.students = students; | ||
} | ||
} |