15 lines
216 B
TypeScript
15 lines
216 B
TypeScript
|
export enum Role {
|
||
|
ADMIN = "admin",
|
||
|
TEACHER = "teacher",
|
||
|
STUDENT = "student",
|
||
|
}
|
||
|
|
||
|
export interface User {
|
||
|
id: number;
|
||
|
name: string;
|
||
|
firstname: string;
|
||
|
lastname: string;
|
||
|
email: string;
|
||
|
role?: Role;
|
||
|
}
|