File tree Expand file tree Collapse file tree
src/main/java/com/thinkeep/domain/record/dto Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package com .thinkeep .domain .record .dto ;
2+
3+ import lombok .*;
4+
5+ import java .util .Map ;
6+
7+ /**
8+ * 월별 감정 데이터 응답 DTO
9+ * 캘린더에서 월별 감정 표시용
10+ */
11+ @ Getter
12+ @ Setter
13+ @ NoArgsConstructor
14+ @ AllArgsConstructor
15+ @ Builder
16+ public class MonthlyEmotionResponse {
17+
18+ /**
19+ * 사용자 번호
20+ */
21+ private Long userNo ;
22+
23+ /**
24+ * 조회 연도
25+ */
26+ private Integer year ;
27+
28+ /**
29+ * 조회 월
30+ */
31+ private Integer month ;
32+
33+ /**
34+ * 날짜별 감정 맵
35+ * 예시: {"2025-07-01": "happy", "2025-07-02": "gloomy"}
36+ */
37+ private Map <String , String > emotions ;
38+
39+ /**
40+ * 해당 월 총 기록 수
41+ */
42+ private Integer totalRecords ;
43+
44+ /**
45+ * 감정별 통계
46+ * 예시: {"happy": 5, "sad": 2, "angry": 1}
47+ */
48+ private Map <String , Integer > emotionStats ;
49+
50+ /**
51+ * 가장 많이 나타난 감정
52+ */
53+ private String dominantEmotion ;
54+
55+ /**
56+ * 응답 생성 시간
57+ */
58+ private String timestamp ;
59+ }
You can’t perform that action at this time.
0 commit comments