get article no
This commit is contained in:
parent
e04a24f7a1
commit
d50e496f79
2 changed files with 6 additions and 1 deletions
|
@ -20,4 +20,8 @@ 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_;
|
||||||
|
}
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue