20 lines
547 B
C#
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; }
|
|
}
|