parent
f27aeb2bf9
commit
a5801b7808
@ -0,0 +1,25 @@
|
||||
#ifndef CASE_H
|
||||
#define CASE_H
|
||||
|
||||
#include<string>
|
||||
|
||||
class User{
|
||||
public:
|
||||
std::string UserName;
|
||||
std::string Password;
|
||||
std::string UserType;
|
||||
|
||||
User(const std::string& uname,const std::string& pwd,const std::string& type)
|
||||
:UserName(uname),Password(pwd),UserType(type){}
|
||||
};
|
||||
|
||||
class Question{
|
||||
public:
|
||||
int id;
|
||||
std::string content;
|
||||
|
||||
Question(int ID,const std::string& cont)
|
||||
:id(ID),content(cont){}
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Reference in new issue