UNPKG

@defikitdotnet/education-module-ai

Version:
18 lines (17 loc) 444 B
import { Course } from './Course'; /** * Teacher model representing an educator who can create and manage courses */ export declare class Teacher { id: string; name: string; email: string; password?: string; passwordHash: string; isActive: boolean; courses: Course[]; createdAt: Date; updatedAt: Date; hashPassword(): Promise<void>; validatePassword(plainTextPassword: string): Promise<boolean>; }