mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-06 19:59:13 +02:00
added information button to additional Modules
This commit is contained in:
14
frontend/src/model/event.ts
Normal file
14
frontend/src/model/event.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
export class Event {
|
||||
constructor(
|
||||
public name: string,
|
||||
public day: string,
|
||||
public start: string,
|
||||
public end: string,
|
||||
public prof: string,
|
||||
public week: string,
|
||||
public eventType: string,
|
||||
public rooms: string,
|
||||
public notes: string,
|
||||
) {}
|
||||
}
|
@@ -1,7 +1,12 @@
|
||||
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[] = [],
|
||||
) {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user