2018-02-12 14:15:04 +00:00
|
|
|
#include "model/recipe/ingredients/ingredient.h"
|
2018-02-02 12:27:57 +00:00
|
|
|
|
|
|
|
Ingredient::Ingredient(){
|
2018-05-22 19:02:08 +00:00
|
|
|
setContent("NULL");
|
2018-02-02 12:27:57 +00:00
|
|
|
}
|
|
|
|
|
2018-05-22 19:02:08 +00:00
|
|
|
Ingredient::Ingredient(string content){
|
|
|
|
setContent(content);
|
2018-02-02 12:27:57 +00:00
|
|
|
}
|
|
|
|
|
2018-05-22 19:02:08 +00:00
|
|
|
string Ingredient::getContent() const{
|
|
|
|
return this->content;
|
2018-02-02 12:27:57 +00:00
|
|
|
}
|
|
|
|
|
2018-05-22 19:02:08 +00:00
|
|
|
void Ingredient::setContent(string newContent){
|
|
|
|
this->content = newContent;
|
2018-02-02 12:27:57 +00:00
|
|
|
}
|
|
|
|
|