File

src/app/models/classroom.ts

Constructor

constructor(idProf: string, codeClasse: any, name: any, level: string)

Properties

id
id: string
idProf
idProf: string
isDemo
isDemo: boolean
Default value: false
level
level: string
name
name: string
students
students: Student[]
import { Student } from "./student";

export class Classroom {
	id: string;
	idProf: string;
	name: string;
	level: string;
	students: Student[];
	isDemo = false;

	constructor(idProf: string, codeClasse, name, level = "") {
		this.id = codeClasse;
		this.idProf = idProf;
		this.name = name;
		this.level = level;
		this.students = new Array();
	}
}

results matching ""

    No results matching ""