From 7dbfb65cf3344b67ad68d56c0fac57a6a07f7608 Mon Sep 17 00:00:00 2001 From: Jiwon Date: Sun, 30 Jul 2023 00:14:50 +0900 Subject: [PATCH] =?UTF-8?q?[refactor]=20scrap=20=EC=B5=9C=EC=8B=A0?= =?UTF-8?q?=EC=88=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/shop/hooking/hooking/dto/response/CopyRes.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/shop/hooking/hooking/dto/response/CopyRes.java b/src/main/java/shop/hooking/hooking/dto/response/CopyRes.java index 88c243f..1691ecd 100644 --- a/src/main/java/shop/hooking/hooking/dto/response/CopyRes.java +++ b/src/main/java/shop/hooking/hooking/dto/response/CopyRes.java @@ -45,6 +45,7 @@ public CopyRes(Long id, Brand brand, String text, LocalDateTime createdAt) { this.createdAt = createdAt; } + //왜안됨..? @Override public int compareTo(CopyRes other) { return other.scrapTime.compareTo(this.scrapTime); // 역순으로 정렬