get article no

This commit is contained in:
Martin Brodbeck 2018-07-13 13:04:30 +02:00
parent e04a24f7a1
commit d50e496f79
2 changed files with 6 additions and 1 deletions

View file

@ -21,3 +21,7 @@ std::string Article::getDescription() { return description_; }
Seller* Article::getSeller() { return sellerPtr_; } Seller* Article::getSeller() { return sellerPtr_; }
int Article::getPrice() { return price_; } int Article::getPrice() { return price_; }
int Article::getArticleNo() {
return articleNo_;
}

View file

@ -24,6 +24,7 @@ class Article : public Entity
//void setSeller(std::shared_ptr<Seller> sellerPtr); //void setSeller(std::shared_ptr<Seller> sellerPtr);
void setSeller(Seller* sellerPtr); void setSeller(Seller* sellerPtr);
int getArticleNo();
std::string getDescription(); std::string getDescription();
Seller* getSeller(); Seller* getSeller();
int getPrice(); int getPrice();