#include <iostream>

#include "./Emprestimo.hpp"
#include "./DescricaoObra.hpp"

using namespace std;

// Constructor
Emprestimo::Emprestimo(int data, DescricaoObra descricao)
  : dataEmprestimo(data), descricao(descricao) {}

void Emprestimo::mostraDetalhes() const {
  cout << "Data: " << dataEmprestimo << endl;
  descricao.mostrarDetalhes();
}


// Methods
void Emprestimo::removeEmprestimo(){

}

string Emprestimo::getDescricaoTitulo(){
  return this->descricao.getTitulo();
}