Archived
Private
Public Access
1
0

Improved substitution page

This commit is contained in:
2023-04-24 18:50:10 +02:00
parent 45a7457ef3
commit 5f3016eccb
12 changed files with 186 additions and 53 deletions

View File

@@ -6,4 +6,8 @@ public struct AuthKeys {
public string AuthSid { get; set; }
public string SatId { get; set; }
public string AuthSession { get; set; }
public string ToCookieString() {
return $"IServSession={Session}; IServSAT={Sat}; IServAuthSID={AuthSid}; IServSATId={SatId}; IServAuthSession={AuthSession}";
}
}

View File

@@ -1,11 +1,12 @@
namespace BetterIServ.Backend.Entities;
public struct Substitution {
public string Class { get; set; }
public string[] Classes { get; set; }
public int[] Times { get; set; }
public string Type { get; set; }
public string Representative { get; set; }
public string Lesson { get; set; }
public string NewLesson { get; set; }
public string Room { get; set; }
public string Teacher { get; set; }
public string Description { get; set; }