22 lines
344 B
C
22 lines
344 B
C
|
#ifndef ADMIN_H
|
||
|
#define ADMIN_H
|
||
|
#pragma once
|
||
|
|
||
|
#include "data.h"
|
||
|
|
||
|
class Admin {
|
||
|
public:
|
||
|
int id;
|
||
|
string name;
|
||
|
string password;
|
||
|
Admin(string name_, string password_);
|
||
|
Admin(int id_, string name_, string password);
|
||
|
|
||
|
// private:
|
||
|
void update_db();
|
||
|
void save_db();
|
||
|
int auto_increment_db();
|
||
|
};
|
||
|
|
||
|
#endif // CUSTOMER_H
|