-
Notifications
You must be signed in to change notification settings - Fork 0
/
Book.cpp
65 lines (62 loc) · 1.29 KB
/
Book.cpp
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
#include "Book.h"
#include <iostream>
#include <string>
Book::Book( string Number, string Author, string Title, string Year, string ISBN, string Publisher, string LLC, string Stock)
{
this->Number = Number;
this->Author = Author;
this->Title = Title;
this->Year = Year;
this->ISBN = ISBN;
this->LLC = LLC;
this->Stock = Stock;
this->Publisher =Publisher;
}
string Book::getNumber(){
return Number;
}
string Book::getAuthor(){
return Author;
}
string Book::getTitle(){
return Title;
}
string Book::getYear(){
return Year;
}
string Book::getPublisher(){
return Publisher;
}
string Book::getISBN(){
return ISBN;
}
string Book::getLLC(){
return LLC;
}
string Book::getStock(){
return Stock;
}
void Book::setNumber(string Number){
this->Number = Number;
}
void Book::setAuthor(string Author){
this->Author = Author;
}
void Book::setTitle(string Title){
this->Title = Title;
}
void Book::setYear(string Year){
this->Year = Year;
}
void Book::setPublisher(string Publisher){
this->Publisher = Publisher;
}
void Book::setISBN(string ISBN){
this->ISBN = ISBN;
}
void Book::setLLC(string LLC){
this->LLC = LLC;
}
void Book::setStock(string Stock){
this->Stock = Stock;
}