#include "Book.h"
#include <string>
using namespace std;
Book::Book()
{
_title = "default";
_author = "defaultAuthor";
_ISBN = 1234567890;
_price = 20.99;
}
Book::Book(string title, string author/*, int ISBN/*, double price*/)
{
_title = title;
_author = author;
// _ISBN = ISBN;
// _price = price;
}
void Book::setISBN(int ISBN)
{
_ISBN = ISBN;
}
void Book::setPrice(double price)
{
_price = price;
}
string Book::getTitle()
{
return _title;
}
string Book::getAuthor()
{
return _author;
}
int Book::getISBN()
{
return _ISBN;
}
double Book::getPrice()
{
return _price;
}
void Book::setTitle(string title)
{
_title = title;
}
void Book::setAuthor(string author)
{
_author = author;
}