File

src/shared/model/Student.ts

Extends

NamedElement

Index

Properties

Properties

attendances
attendances: []
Type : []
cakeCount
cakeCount: number
Type : number
courseOfStudies
courseOfStudies: string
Type : string
Optional
email
email: string
Type : string
Optional
iliasName
iliasName: string
Type : string
Optional
matriculationNo
matriculationNo: string
Type : string
Optional
presentationPoints
presentationPoints: []
Type : []
status
status: StudentStatus
Type : StudentStatus
team
team: TeamInStudent
Type : TeamInStudent
Optional
tutorial
tutorial: ITutorialInEntity
Type : ITutorialInEntity
import { IAttendance } from './Attendance';
import { HasId, ITutorialInEntity, NamedElement } from './Common';

export interface TeamInStudent extends HasId {
    teamNo: number;
}

export enum StudentStatus {
    ACTIVE = 'ACTIVE',
    INACTIVE = 'INACTIVE',
    NO_SCHEIN_REQUIRED = 'NO_SCHEIN_REQUIRED',
}

export interface IStudent extends NamedElement {
    iliasName?: string;
    attendances: [string, IAttendance][];
    courseOfStudies?: string;
    email?: string;
    matriculationNo?: string;
    presentationPoints: [string, number][];
    status: StudentStatus;
    team?: TeamInStudent;
    tutorial: ITutorialInEntity;
    cakeCount: number;
}

export interface IStudentDTO {
    firstname: string;
    lastname: string;
    iliasName?: string;
    courseOfStudies?: string;
    email?: string;
    matriculationNo?: string;
    status: StudentStatus;
    team?: string;
}

export interface ICreateStudentDTO extends IStudentDTO {
    tutorial: string;
}

export interface ICreateStudentsDTO {
    tutorial: string;
    students: IStudentDTO[];
}

export interface ICakeCountDTO {
    cakeCount: number;
}

results matching ""

    No results matching ""