Sleeve work type changes (#412)

This commit is contained in:
Snarling
2023-03-07 18:03:13 -05:00
committed by GitHub
parent 51bf0d1904
commit 401bfe9f31
13 changed files with 142 additions and 226 deletions
@@ -17,11 +17,12 @@ interface ClassWorkParams {
}
export class SleeveClassWork extends Work {
type: WorkType.CLASS = WorkType.CLASS;
classType: ClassType;
location: LocationName;
constructor(params?: ClassWorkParams) {
super(WorkType.CLASS);
super();
this.classType = params?.classType ?? UniversityClassType.computerScience;
this.location = params?.location ?? LocationName.Sector12RothmanUniversity;
}