Files
LehrerApp/LehrerApp.Api/ReadableSnapshot.cs
2026-08-12 17:45:02 +02:00

20 lines
547 B
C#

using LehrerApp.Core.Models;
namespace LehrerApp.Api;
public class ReadableSnapshot
{
public DateTime ExportedAt { get; set; }
public ReadableSnapshotMeta Meta { get; set; } = new();
public List<LearningGroup> Groups { get; set; } = [];
public List<Subject> Subjects { get; set; } = [];
public List<Student> Students { get; set; } = [];
public List<GroupMembership> Memberships { get; set; } = [];
}
public class ReadableSnapshotMeta
{
public int StudentCount { get; set; }
public int GroupCount { get; set; }
}