chore(schedule): add lesson type 'differentiated exam'

This commit is contained in:
2025-10-29 02:16:25 +04:00
parent 622464e4c3
commit ac16c96e5e
2 changed files with 4 additions and 0 deletions

View File

@@ -103,6 +103,9 @@ pub enum LessonType {
/// Практическое занятие. /// Практическое занятие.
Practice, Practice,
/// Дифференцированный зачёт.
DifferentiatedExam,
} }
#[derive(Clone, Hash, Debug, Serialize, Deserialize, ToSchema)] #[derive(Clone, Hash, Debug, Serialize, Deserialize, ToSchema)]

View File

@@ -187,6 +187,7 @@ fn guess_lesson_type(text: &str) -> Option<LessonType> {
("курсовой проект", LessonType::CourseProject), ("курсовой проект", LessonType::CourseProject),
("защита курсового проекта", LessonType::CourseProjectDefense), ("защита курсового проекта", LessonType::CourseProjectDefense),
("практическое занятие", LessonType::Practice), ("практическое занятие", LessonType::Practice),
("дифференцированный зачет", LessonType::DifferentiatedExam),
]) ])
}); });