thực hiện phân quyền admin giáo viên và học sinh xong

This commit is contained in:
2026-04-01 19:26:47 +07:00
parent 8546d41a26
commit 386871bd4a
14 changed files with 796 additions and 37 deletions
+5
View File
@@ -1,7 +1,12 @@
export type UserRole = "admin" | "teacher" | "student";
export type UserStatus = "pending" | "approved" | "rejected";
export interface User {
id: number;
username: string;
email: string;
role: UserRole;
status: UserStatus;
created_at: string;
}