From f3619b20e1c5baa342eb7466c67c44d3192bb3eb Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Tue, 13 Apr 2021 00:52:32 -0500 Subject: Initial TypeScript refactoring --- src/models/Lab.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/models/Lab.js (limited to 'src/models/Lab.js') diff --git a/src/models/Lab.js b/src/models/Lab.js deleted file mode 100644 index 2e4412d..0000000 --- a/src/models/Lab.js +++ /dev/null @@ -1,17 +0,0 @@ -import EventInfo from '@/models/EventInfo'; - -export default class Lab { - constructor(course = 0, section = 0, event = new EventInfo()) { - this.course = course; - this.section = section; - this.event = event; - } - - get id() { - return `${this.course}-${this.section}`; - } - - get fullInfo() { - return `${this.id} ${this.event.info}`; - } -} -- cgit v1.2.3