anonymous-student
Version:
Anonymous student is used to retrieve and save information from our website users.
17 lines (12 loc) • 528 B
text/typescript
import { IEvent } from '@studyportals/event-aggregation-service-interface';
import { EventType, StudentRepositoryStateType } from '../enumerations';
export class AnonymousStudentStateChanged implements IEvent {
public static EventType: string = EventType.AnonymousStudentStateChanged;
public eventType: string = AnonymousStudentStateChanged.EventType;
constructor(
public readonly timestamp: Date,
public readonly oldState: StudentRepositoryStateType,
public readonly newState: StudentRepositoryStateType
) {
}
}