/
dmuruz
/
Course_Service
Обзор
Документация
Войти
/
dmuruz
/
Course_Service
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
dev
src/main/java/org/example/dto/LessonProgressDTO.java
102 строки
2 KB
Danil Muruz
MVP
24 апр 2025, 09:39
24 апр 2025, 09:39
16b1c45
Код
Авторство
О чём код?
package org.example.dto; import org.example.model.LessonStatus; public class LessonProgressDTO { private Long id; private String name; private String description; private String jsonSchema; private Integer durationSteps; private Integer orderNum; private Long courseId; private LessonStatus status; private Integer completedSteps; public LessonProgressDTO(Long id, String name, String description, String jsonSchema, Integer durationSteps, Integer orderNum, Long courseId, LessonStatus status, Integer completedSteps) { this.id = id; this.name = name; this.description = description; this.jsonSchema = jsonSchema; this.durationSteps = durationSteps; this.orderNum = orderNum; this.courseId = courseId; this.status = status; this.completedSteps = completedSteps; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getJsonSchema() { return jsonSchema; } public void setJsonSchema(String jsonSchema) { this.jsonSchema = jsonSchema; } public Integer getDurationSteps() { return durationSteps; } public void setDurationSteps(Integer durationSteps) { this.durationSteps = durationSteps; } public Integer getOrderNum() { return orderNum; } public void setOrderNum(Integer orderNum) { this.orderNum = orderNum; } public Long getCourseId() { return courseId; } public void setCourseId(Long courseId) { this.courseId = courseId; } public LessonStatus getStatus() { return status; } public void setStatus(LessonStatus status) { this.status = status; } public Integer getCompletedSteps() { return completedSteps; } public void setCompletedSteps(Integer completedSteps) { this.completedSteps = completedSteps; } }