code cleanup
This commit is contained in:
parent
74719b762f
commit
6000bb3ef2
17 changed files with 65 additions and 67 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "article.h"
|
||||
|
||||
Article::Article() : Entity() {}
|
||||
//Article::Article() : Entity() {}
|
||||
|
||||
// Article::Article(std::shared_ptr<Seller> sellerPtr) : Entity() { sellerPtr_ = sellerPtr; }
|
||||
|
||||
|
@ -20,8 +20,6 @@ std::string Article::getDescription() { return description_; }
|
|||
|
||||
Seller* Article::getSeller() { return sellerPtr_; }
|
||||
|
||||
int Article::getPrice() { return price_; }
|
||||
int Article::getPrice() const { return price_; }
|
||||
|
||||
int Article::getArticleNo() {
|
||||
return articleNo_;
|
||||
}
|
||||
int Article::getArticleNo() { return articleNo_; }
|
Loading…
Add table
Add a link
Reference in a new issue