#ifndef ARTICLE_H #define ARTICLE_H #include "entity.h" #include "seller.h" #include "sale.h" #include #include class Seller; class Article : public Entity { public: Article(); Article(std::shared_ptr sellerPtr); void setArticleNo(int articleNo); void setPrice(int price); void setDescription(const std::string& description); bool isSold(); void setSale(const std::shared_ptr salePtr); void setSeller(std::shared_ptr sellerPtr); private: std::shared_ptr sellerPtr_{}; std::shared_ptr salePtr_{}; int articleNo_{}; int price_{}; std::string description_{}; }; #endif