mirror of
https://git.victorphan.net/basketballcantho/ten-project.git
synced 2026-08-05 14:53:11 +07:00
thực hiện phân quyền admin giáo viên và học sinh xong
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user