[O] Make Assignment interface a class

This commit is contained in:
Hykilpikonna
2019-12-07 11:52:19 -05:00
parent 32ccac2d15
commit 4a51e8ecdb
+14 -14
View File
@@ -8,24 +8,24 @@ import CacheUtils from '@/logic/utils/cache-utils';
/**
* Objects of this interface represent assignment grades.
*/
export interface Assignment
export class Assignment
{
id: number
scoreId: number
type: string
typeId: number
description: string
time: number
complete: string
include: boolean
display: boolean
id: number;
scoreId: number;
type: string;
typeId: number;
description: string;
time: number;
complete: string;
include: boolean;
display: boolean;
unread: boolean
unread: boolean;
scoreMax: number
score: number
scoreMax: number;
score: number;
gradingPeriod: number
gradingPeriod: number;
}
export interface AssignmentType