-
Notifications
You must be signed in to change notification settings - Fork 0
/
Seller.h
59 lines (41 loc) · 1.22 KB
/
Seller.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
//
// Created by Ziad on 4/24/2022.
//
#ifndef DATASTRUCTURE_SELLER_H
#define DATASTRUCTURE_SELLER_H
#include <string>
#include "qlocale.h"
#include <fstream>
#include <string>
#include <QFile>
#include <QTextStream>
using namespace std ;
class Seller {
private:
QString id;
QString name;
QString email;
QString password;
float total_Rates; // 3dd kol el rates
float number_of_Rates; // 3dd el nas elli 3mlo rate
float Average_of_Rating; // Elrate nafso
public:
Seller(QString id, QString name, QString email , QString password , float total_Rates , float number_of_Rates , float Average_of_Rating);
Seller();
QString getId() ;
void setId(QString id);
QString getName() ;
void setName(QString name);
QString getEmail() ;
QString getPassword() ;
void setPassword(QString password);
void setEmail(QString email);
void sellerLogin(QString email , QString id);
float gettotal_Rates();
void settotal_Rates(float total_Rates);
float getnumber_of_Rates();
void setnumber_of_Rates();
float getAverage_of_Rating();
void setAverage_of_Rating();
};
#endif //DATASTRUCTURE_SELLER_H