-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMemberResponseDTO.java
More file actions
95 lines (84 loc) · 2.11 KB
/
MemberResponseDTO.java
File metadata and controls
95 lines (84 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
package umc.codeplay.dto;
import java.time.LocalDateTime;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
public class MemberResponseDTO {
@Builder
@Getter
@NoArgsConstructor
@AllArgsConstructor
public static class JoinResultDTO {
Long id;
}
@Builder
@Getter
@NoArgsConstructor
@AllArgsConstructor
public static class LoginResultDTO {
String email;
String profileUrl;
String token;
String refreshToken;
}
@Builder
@Getter
@NoArgsConstructor
@AllArgsConstructor
public static class UpdateResultDTO {
String email;
}
@Builder
@Getter
@NoArgsConstructor
@AllArgsConstructor
public static class GetMyHarmonyDTO {
// 화성분석Id, 음원Id, 음원제목, 생성 날짜, 키, bpm, 평균음압, 즐겨찾기 여부
Long harmonyId;
Long musicId;
String musicTitle;
LocalDateTime createdAt;
String scale;
String genre;
Integer bpm;
String voiceColor;
Boolean isLiked;
}
@Builder
@Getter
@NoArgsConstructor
@AllArgsConstructor
public static class GetMyTrackDTO {
// 세션 분리 harmonyId, 음원 harmonyId, 음원 제목, 생성일자, 보컬 파일 url, 반주 url, 베이스 파일 url, 드럼 파일 url,
// 즐겨찾기 여부
Long trackId;
Long musicId;
String musicTitle;
LocalDateTime createdAt;
String vocalUrl;
String instrumentalUrl;
String bassUrl;
String drumsUrl;
Boolean isLiked;
}
@Builder
@Getter
@NoArgsConstructor
@AllArgsConstructor
public static class GetAllByMusicTitleDTO {
private List<GetMyHarmonyDTO> harmonies;
private List<GetMyTrackDTO> tracks;
}
@Builder
@Getter
@NoArgsConstructor
@AllArgsConstructor
public static class TaskProgressDTO {
Long taskId;
String processStatus;
String jobType;
Long jobId;
}
}