package app.mealsmadeeasy.api.recipe; import app.mealsmadeeasy.api.image.Image; import app.mealsmadeeasy.api.recipe.comment.RecipeComment; import app.mealsmadeeasy.api.recipe.star.RecipeStar; import app.mealsmadeeasy.api.user.User; import org.jetbrains.annotations.Nullable; import java.time.LocalDateTime; import java.util.Set; public interface Recipe { Long getId(); LocalDateTime getCreated(); @Nullable LocalDateTime getModified(); String getSlug(); String getTitle(); @Nullable Integer getPreparationTime(); @Nullable Integer getCookingTime(); @Nullable Integer getTotalTime(); String getRawText(); User getOwner(); Set getStars(); boolean isPublic(); Set getViewers(); Set getComments(); Image getMainImage(); }