Написал запрос на создание занятия

This commit is contained in:
ProstoDenya01
2026-02-18 18:37:51 +03:00
parent 7815f3ed91
commit c3d5246874
6 changed files with 320 additions and 0 deletions

View File

@@ -0,0 +1,77 @@
package com.magistr.app.dto;
public class LessonResponse {
private Long teacherId;
private Long groupId;
private Long lessonId;
private String day;
private String week;
private String time;
public LessonResponse() {
}
public LessonResponse(Long lessonId, String day, String week, String time) {
this.lessonId = lessonId;
this.day = day;
this.week = week;
this.time = time;
}
public LessonResponse(Long teacherId, Long lessonId, String day, String week, String time) {
this.teacherId = teacherId;
this.lessonId = lessonId;
this.day = day;
this.week = week;
this.time = time;
}
public Long getTeacherId() {
return teacherId;
}
public void setTeacherId(Long teacherId) {
this.teacherId = teacherId;
}
public Long getGroupId() {
return groupId;
}
public void setGroupId(Long groupId) {
this.groupId = groupId;
}
public Long getLessonId() {
return lessonId;
}
public void setLessonId(Long lessonId) {
this.lessonId= lessonId;
}
public String getDay() {
return day;
}
public void setDay(String day) {
this.day = day;
}
public String getWeek() {
return week;
}
public void setWeek(String week) {
this.week = week;
}
public String getTime() {
return time;
}
public void setTime(String time) {
this.time = time;
}
}