Ajouter user.h

This commit is contained in:
2026-02-13 12:58:50 +00:00
parent 570ede7a2c
commit 0f942ccd3c

15
user.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef USER_H
#define USER_H
#include <string>
enum Role { ADMIN, PROF, STUDENT };
struct User {
std::string login;
std::string password;
Role role;
};
#endif