mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-02 17:59:14 +02:00
17 lines
368 B
TypeScript
17 lines
368 B
TypeScript
import { Event } from "./event";
|
|
|
|
export class Module {
|
|
constructor(
|
|
public name: string,
|
|
public course: string,
|
|
public userDefinedName: string,
|
|
public prof: string,
|
|
public semester: string,
|
|
public events: Event[] = [],
|
|
) {}
|
|
|
|
isEqual(module: Module): Boolean {
|
|
return this.name === module.name && this.course === module.course;
|
|
}
|
|
}
|