[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. * Objects of this interface represent assignment grades.
*/ */
export interface Assignment export class Assignment
{ {
id: number id: number;
scoreId: number scoreId: number;
type: string type: string;
typeId: number typeId: number;
description: string description: string;
time: number time: number;
complete: string complete: string;
include: boolean include: boolean;
display: boolean display: boolean;
unread: boolean unread: boolean;
scoreMax: number scoreMax: number;
score: number score: number;
gradingPeriod: number gradingPeriod: number;
} }
export interface AssignmentType export interface AssignmentType