RecipeDB/model/recipe/ingredients/ingredient.cpp

19 lines
310 B
C++
Raw Permalink Normal View History

#include "model/recipe/ingredients/ingredient.h"
Ingredient::Ingredient(){
setContent("NULL");
}
Ingredient::Ingredient(string content){
setContent(content);
}
string Ingredient::getContent() const{
return this->content;
}
void Ingredient::setContent(string newContent){
this->content = newContent;
}