129 lines
3.4 KiB
Java
129 lines
3.4 KiB
Java
package com.magistr.app.dto;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
import com.magistr.app.model.SemesterType;
|
|
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
public class ScheduleResponse {
|
|
private Long id;
|
|
private String specialityCode;
|
|
private Long departmentId;
|
|
private Long groupId;
|
|
private String groupName;
|
|
private Integer groupCourse;
|
|
private Integer groupSemester;
|
|
private Long subjectsId;
|
|
private String subjectName;
|
|
private Long lessonTypeId;
|
|
private String lessonType;
|
|
private Long numberOfHours;
|
|
private Boolean division;
|
|
private Long teacherId;
|
|
private String teacherName;
|
|
private String teacherJobTitle;
|
|
private SemesterType semesterType;
|
|
private String period;
|
|
|
|
public ScheduleResponse(Long id, Long departmentId, Long groupId, Long subjectsId, Long lessonTypeId, String lessonType, Long numberOfHours, Boolean division, Long teacherId, SemesterType semesterType, String period) {
|
|
this.id = id;
|
|
this.departmentId = departmentId;
|
|
this.groupId = groupId;
|
|
this.subjectsId = subjectsId;
|
|
this.lessonTypeId = lessonTypeId;
|
|
this.numberOfHours = numberOfHours;
|
|
this.division = division;
|
|
this.teacherId = teacherId;
|
|
this.semesterType = semesterType;
|
|
this.period = period;
|
|
}
|
|
|
|
public ScheduleResponse(Long id, Long departmentId, String specialityCode, String groupName, Integer groupCourse, Integer groupSemester, String subjectName, String lessonType, Long numberOfHours, Boolean division, String teacherName, String teacherJobTitle, SemesterType semesterType, String period) {
|
|
this.id = id;
|
|
this.departmentId = departmentId;
|
|
this.specialityCode = specialityCode;
|
|
this.groupName = groupName;
|
|
this.groupCourse = groupCourse;
|
|
this.groupSemester = groupSemester;
|
|
this.subjectName = subjectName;
|
|
this.lessonType = lessonType;
|
|
this.numberOfHours = numberOfHours;
|
|
this.division = division;
|
|
this.teacherName = teacherName;
|
|
this.teacherJobTitle = teacherJobTitle;
|
|
this.semesterType = semesterType;
|
|
this.period = period;
|
|
}
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public String getSpecialityCode() {
|
|
return specialityCode;
|
|
}
|
|
|
|
public Long getDepartmentId() {
|
|
return departmentId;
|
|
}
|
|
|
|
public Long getGroupId() {
|
|
return groupId;
|
|
}
|
|
|
|
public String getGroupName() {
|
|
return groupName;
|
|
}
|
|
|
|
public Integer getGroupCourse() {
|
|
return groupCourse;
|
|
}
|
|
|
|
public Integer getGroupSemester() {
|
|
return groupSemester;
|
|
}
|
|
|
|
public Long getSubjectsId() {
|
|
return subjectsId;
|
|
}
|
|
|
|
public String getSubjectName() {
|
|
return subjectName;
|
|
}
|
|
|
|
public Long getLessonTypeId() {
|
|
return lessonTypeId;
|
|
}
|
|
|
|
public String getLessonType() {
|
|
return lessonType;
|
|
}
|
|
|
|
public Long getNumberOfHours() {
|
|
return numberOfHours;
|
|
}
|
|
|
|
public Boolean getDivision() {
|
|
return division;
|
|
}
|
|
|
|
public Long getTeacherId() {
|
|
return teacherId;
|
|
}
|
|
|
|
public String getTeacherName() {
|
|
return teacherName;
|
|
}
|
|
|
|
public String getTeacherJobTitle() {
|
|
return teacherJobTitle;
|
|
}
|
|
|
|
public SemesterType getSemesterType() {
|
|
return semesterType;
|
|
}
|
|
|
|
public String getPeriod() {
|
|
return period;
|
|
}
|
|
}
|