// Matt Kaliszewksi
// COMP411 - Lab 06
// October 16, 2002
// User.h
#ifndef USER_H
#define USER_H
#include <iostream>
#include <string>
using namespace std;
//////////////////////////////////// USER CLASS
////////////////////////////////////
class User {
public:
User(); // Default
constructor
User(string u, string n,
string ph, string pr); // Constructor to create a
new User
string getUserName(); // Accessor method to retrieve
the username of the user
string getName(); // Accessor method to
retrieve the name of the user
string getPhone(); // Accessor method to
retrieve the phone number of the user
string getPrivilege(); // Accessor method to retrieve
the privilege of the user
void setName(string n); // Mutator method to set the
name of a user
void setPhone(string ph); // Mutator method to set the name
of a user
void setPrivilege(string pr); // Mutator method to set the name of
a user
private:
string username; // Username of the user
string name; // Name of the user
string phone; // Phone number of the
user
string privilege; // Privilgeg level of the
user
};
#endif