package db;
|
|
|
|
public class Recipe {
|
|
private int id;
|
|
private String name;
|
|
private String ingredients;
|
|
private String description;
|
|
private String tags;
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
public String getIngredients() {
|
|
return ingredients;
|
|
}
|
|
public void setIngredients(String ingredients) {
|
|
this.ingredients = ingredients;
|
|
}
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
public String getTags() {
|
|
return tags;
|
|
}
|
|
public void setTags(String tags) {
|
|
this.tags = tags;
|
|
}
|
|
|
|
|
|
public Recipe() {}
|
|
public Recipe(int id, String name, String ingredients, String description, String tags) {
|
|
this.id = id;
|
|
this.name = name;
|
|
this.ingredients = ingredients;
|
|
this.description = description;
|
|
this.tags = tags;
|
|
}
|
|
|
|
|
|
}
|