From 7ea80396ea47f099cb6321f3de6e53eae48f9af6 Mon Sep 17 00:00:00 2001 From: adalinmik Date: Wed, 24 Jan 2024 00:04:08 +0100 Subject: [PATCH] Remove EpisodeSimple from RecommendationToSave --- .../backend/recommendation/RecommendationData.java | 10 ---------- .../backend/recommendation/RecommendationToSave.java | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/src/main/java/hu/tilos/radio/backend/recommendation/RecommendationData.java b/src/main/java/hu/tilos/radio/backend/recommendation/RecommendationData.java index c0a1cda..841244b 100644 --- a/src/main/java/hu/tilos/radio/backend/recommendation/RecommendationData.java +++ b/src/main/java/hu/tilos/radio/backend/recommendation/RecommendationData.java @@ -27,8 +27,6 @@ public class RecommendationData { private String image; - private String episodeRef; - private Date date; private Date created; @@ -71,14 +69,6 @@ public void setDescription(String description) { this.description = description; } - public String getEpisodeRef() { - return episodeRef; - } - - public void setEpisodeRef(String episodeRef) { - this.episodeRef = episodeRef; - } - public Date getDate() { return date; } diff --git a/src/main/java/hu/tilos/radio/backend/recommendation/RecommendationToSave.java b/src/main/java/hu/tilos/radio/backend/recommendation/RecommendationToSave.java index 21a9941..07ee26c 100644 --- a/src/main/java/hu/tilos/radio/backend/recommendation/RecommendationToSave.java +++ b/src/main/java/hu/tilos/radio/backend/recommendation/RecommendationToSave.java @@ -1,7 +1,6 @@ package hu.tilos.radio.backend.recommendation; import hu.tilos.radio.backend.data.Author; -import hu.tilos.radio.backend.episode.EpisodeSimple; import javax.validation.constraints.NotNull; import java.util.Date; @@ -15,7 +14,6 @@ public class RecommendationToSave { private String description; private String link; private String image; - private EpisodeSimple episode; private Date date; private String writer; @@ -45,14 +43,6 @@ public void setDescription(String description) { this.description = description; } - public EpisodeSimple getEpisode() { - return episode; - } - - public void setEpisode(EpisodeSimple episode) { - this.episode = episode; - } - public Date getDate() { return date; }