Details Lerngruppe, Archiv, Stub Import

This commit is contained in:
2026-08-11 17:54:10 +02:00
parent 7a1f89cd4a
commit fd715dd5a5
11 changed files with 281 additions and 40 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ public interface IStudentRepository
public interface IGroupRepository
{
LearningGroup? GetById(Guid id);
List<LearningGroup> GetAll();
List<LearningGroup> GetBySchoolYear(string schoolYear);
List<LearningGroup> GetAll(bool includeInactive = false);
List<LearningGroup> GetBySchoolYear(string schoolYear, bool includeInactive = false);
void Save(LearningGroup group);
void Delete(Guid id);
}
+1
View File
@@ -11,6 +11,7 @@ public class LearningGroup
public int GradeLevel { get; set; }
public GradingSystem GradingSystem { get; set; }
public int? HoursPerWeek { get; set; }
public bool IsActive { get; set; } = true;
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
}