24 lines
530 B
C++
24 lines
530 B
C++
#ifndef NALOGA0201_ARTWORK_H
|
|
#define NALOGA0201_ARTWORK_H
|
|
|
|
#include "Artist.h"
|
|
#include "Dimension.h"
|
|
|
|
class Artwork {
|
|
protected:
|
|
std::string title, description;
|
|
int price, year;
|
|
Artist *artist;
|
|
Dimension dimension;
|
|
public:
|
|
Artwork() = default;
|
|
|
|
Artwork(std::string title, std::string description, int price, int year, Artist *artist, double width, double height, double depth);
|
|
|
|
~Artwork() = default;
|
|
|
|
virtual std::string toString() const;
|
|
};
|
|
|
|
#endif //NALOGA0201_ARTWORK_H
|