Skip to content

Commit 0d50304

Browse files
committed
feat: 제품 메트릭스 요약 및 랭크된 제품 클래스 추가
1 parent ff76dfb commit 0d50304

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package com.loopers.dto;
2+
3+
import lombok.AllArgsConstructor;
4+
import lombok.Getter;
5+
6+
import java.time.LocalDate;
7+
8+
@Getter
9+
@AllArgsConstructor
10+
public class ProductMetricsSummary {
11+
12+
private Long productId;
13+
private LocalDate date;
14+
private Long likeCount;
15+
private Long stockCount;
16+
private Long viewCount;
17+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.loopers.dto;
2+
3+
public record RankedProduct(
4+
Long productId,
5+
double score
6+
) {
7+
}

0 commit comments

Comments
 (0)