-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDocGia.h
55 lines (50 loc) · 862 Bytes
/
DocGia.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
#pragma once
#include"stdafx.h"
using namespace std;
#include"Date.h"
#include"address.h"
class DocGia
{
protected:
string madocgia, tendocgia, masinhvien, sdt, ngaysinh, diachi;
Date d;
public:
DocGia(string s="");
DocGia(DocGia d, string s);
void setMaDocGia(string madoc) {
madocgia = madoc;
}
void setTenDocGia(string s) {
tendocgia = s;
}
void setMaSV(string s) {
masinhvien = s;
}
void setDiaChi(string s) {
diachi = s;
}
void setSdt(string s) {
sdt = s;
}
void setNgaySinh(string s) {
ngaysinh = s;
}
string getTenDocGia() {
return tendocgia;
}
string getMaDocGia() {
return madocgia;
}
string getMaSV() {
return masinhvien;
}
string getNgaySinh() {
return ngaysinh;
}
string getDiaChi() {
return diachi;
}
string getSdt() {
return sdt;
}
};