From 6b9a30ec8f19302944253b048bd10351addc12e2 Mon Sep 17 00:00:00 2001 From: DongHoon Lee Date: Sun, 1 Dec 2024 00:53:53 +0900 Subject: [PATCH] =?UTF-8?q?[#256]=20fix(PerformanceImage):=20=ED=85=8C?= =?UTF-8?q?=EC=9D=B4=EB=B8=94=EB=AA=85=EA=B3=BC=20=EA=B2=B9=EC=B9=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EA=B2=8C=20=EA=B3=B5=EC=97=B0=EC=9D=B4?= =?UTF-8?q?=EB=AF=B8=EC=A7=80=20=EB=B3=80=EC=88=98=EB=AA=85=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../performance/domain/PerformanceImage.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/beat/domain/performance/domain/PerformanceImage.java b/src/main/java/com/beat/domain/performance/domain/PerformanceImage.java index 46769714..bbc8479f 100644 --- a/src/main/java/com/beat/domain/performance/domain/PerformanceImage.java +++ b/src/main/java/com/beat/domain/performance/domain/PerformanceImage.java @@ -16,26 +16,26 @@ public class PerformanceImage { private Long id; @Column(nullable = false) - private String performanceImage; + private String performanceImageUrl; @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "performance_id", nullable = false) private Performance performance; @Builder - public PerformanceImage(String performanceImage, Performance performance) { - this.performanceImage = performanceImage; + private PerformanceImage(String performanceImageUrl, Performance performance) { + this.performanceImageUrl = performanceImageUrl; this.performance = performance; } - public static PerformanceImage create(String perforemanceImage, Performance performance) { + public static PerformanceImage create(String performanceImageUrl, Performance performance) { return PerformanceImage.builder() - .performanceImage(perforemanceImage) + .performanceImageUrl(performanceImageUrl) .performance(performance) .build(); } - public void update(String performanceImage) { - this.performanceImage = performanceImage; + public void update(String performanceImageUrl) { + this.performanceImageUrl = performanceImageUrl; } }