blob: 2e4412dad39b78f9fac44503dbc728ac7aae8472 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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}`;
}
}
|