-
Notifications
You must be signed in to change notification settings - Fork 0
/
classes.h
72 lines (63 loc) · 1.1 KB
/
classes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//SELF-MADE HEADER FILE
#ifndef CLASSES_H
#define CLASSES_H
#include <iostream>
using namespace std;
//--CLASS DECLARATIONS--
class Book{
int id,price,qty;
string name, author;
public:
void add();
void up_price();
void search();
void dis_all();
};
class Suppliers{
int id;
long long int phone;
string name,addr,city,state;
public:
void add();
void remove();
void search();
};
class Purchases{
int o_id,sup_id, book_id,qty,price;
string rec_date;
public:
void add();
void mark_R();
void cancel();
void view_all();
void received();
};
class Employees{
int id;
long long int phone,salary;
string name,mng,addr,city;
public:
void add();
void search();
void assign_mng();
void view_all();
void up_sal();
};
class Members{
int id;
long long int phone;
string name,expiry;
public:
void add();
void search();
void refresh();
};
class Sales{
int id,mem_id,book_id,qty,price;
string sale_date;
public:
void add();
void total();
void search();
};
#endif