-
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.
Student Absenteeism API Fixes and Updates | SIS-199 (#111)
* StudentLessonAbsenteeismResponse Has Been Renamed to StudentsLessonAbsenteeismResponse * StudentLessonAbsenteeismHoursState Enum Class Has Been Created * THEORETICAL_HOURS_STATE and PRACTICE_HOURS_STATE Fields Have Been Added to StudentLessonAbsenteeismMapping * THEORETICAL_HOURS_STATE and PRACTICE_HOURS_STATE Fields Have Been Added to SQLs & Method Return Entities Have Been Updated * SStudentLessonAbsenteeismEntity Has Been Renamed to StudentsLessonAbsenteeismEntity * StudentLessonsAbsenteeismEntity Class Has Been Created * theoreticalHoursState and practiceHoursState Variables Have Been Added to StudentLessonAbsenteeismSaveEntity and StudentLessonAbsenteeismUpdateEntity Classes * StudentLessonsAbsenteeismResponse Class Has Been Created * theoreticalHoursState and practiceHoursState Have Been Added to StudentsLessonAbsenteeismResponse Class * theoreticalHoursState and practiceHoursState Fields Have Been Added to Converter Methods * getAllStudentLessonsAbsenteeismByStudentId Method Has Been Updated and Return Objects Have Been Updated * getAllStudentsLessonsAbsenteeismByLessonId Method Has Been Renamed to getAllStudentsLessonAbsenteeismByLessonId * getAllStudentLessonsAbsenteeismByStudentId Method Return Object Has Been Updated * StudentLessonAbsenteeismHoursState/NOT_EXIST Message Has Been Fixed * Generate StudentLessonsAbsenteeismResponse Method Has Been Fixed * theoreticalHoursState, practiceHoursState and status Responses Have Been Fixed * status Variable Has Been Removed for Student Absenteeism Response * if Conditions Have Been Fixed for hours Checks
- Loading branch information
1 parent
255624f
commit 3ccdc50
Showing
15 changed files
with
315 additions
and
84 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
26 changes: 26 additions & 0 deletions
26
...onsystem/university/absenteeism/model/dto/response/StudentLessonsAbsenteeismResponse.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,26 @@ | ||
package com.graduationproject.studentinformationsystem.university.absenteeism.model.dto.response; | ||
|
||
import com.graduationproject.studentinformationsystem.common.model.dto.response.SisBaseResponse; | ||
import com.graduationproject.studentinformationsystem.university.absenteeism.model.enums.StudentLessonAbsenteeismHoursState; | ||
import com.graduationproject.studentinformationsystem.university.lesson.common.model.dto.response.LessonResponse; | ||
import com.graduationproject.studentinformationsystem.university.student.model.dto.response.StudentInfoResponse; | ||
import com.graduationproject.studentinformationsystem.university.teacher.model.dto.response.TeacherInfoResponse; | ||
import lombok.Getter; | ||
import lombok.experimental.SuperBuilder; | ||
|
||
@Getter | ||
@SuperBuilder | ||
public class StudentLessonsAbsenteeismResponse extends SisBaseResponse { | ||
|
||
private String id; | ||
private StudentLessonAbsenteeismHoursState theoreticalHoursState; | ||
private Integer currentTheoreticalHours; | ||
private Integer balanceTheoreticalHours; | ||
private StudentLessonAbsenteeismHoursState practiceHoursState; | ||
private Integer currentPracticeHours; | ||
private Integer balancePracticeHours; | ||
|
||
private TeacherInfoResponse teacherResponse; | ||
private StudentInfoResponse studentResponse; | ||
private LessonResponse lessonResponse; | ||
} |
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
25 changes: 25 additions & 0 deletions
25
...nformationsystem/university/absenteeism/model/entity/StudentLessonsAbsenteeismEntity.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,25 @@ | ||
package com.graduationproject.studentinformationsystem.university.absenteeism.model.entity; | ||
|
||
import com.graduationproject.studentinformationsystem.common.model.entity.SisBaseEntity; | ||
import com.graduationproject.studentinformationsystem.university.absenteeism.model.enums.StudentLessonAbsenteeismHoursState; | ||
import com.graduationproject.studentinformationsystem.university.absenteeism.model.enums.StudentLessonAbsenteeismStatus; | ||
import lombok.Getter; | ||
import lombok.experimental.SuperBuilder; | ||
|
||
@Getter | ||
@SuperBuilder | ||
public class StudentLessonsAbsenteeismEntity extends SisBaseEntity { | ||
|
||
private String id; | ||
private Long teacherId; | ||
private Long studentId; | ||
private Long lessonId; | ||
private Integer week; | ||
private StudentLessonAbsenteeismHoursState theoreticalHoursState; | ||
private Integer theoreticalHours; | ||
private Integer maxTheoreticalHours; | ||
private StudentLessonAbsenteeismHoursState practiceHoursState; | ||
private Integer practiceHours; | ||
private Integer maxPracticeHours; | ||
private StudentLessonAbsenteeismStatus status; | ||
} |
Oops, something went wrong.