Skip to content

Commit 6ed21e9

Browse files
committed
feat: 지원자 응답 DTO 구현
1 parent 68a8889 commit 6ed21e9

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
package dmu.dasom.api.domain.applicant.dto;
2+
3+
import dmu.dasom.api.domain.applicant.enums.ApplicantStatus;
4+
import io.swagger.v3.oas.annotations.media.Schema;
5+
import lombok.*;
6+
7+
import java.time.LocalDateTime;
8+
9+
@AllArgsConstructor
10+
@Builder
11+
@Getter
12+
@NoArgsConstructor(access = AccessLevel.PROTECTED)
13+
@Schema(name = "ApplicantResponseDto", description = "지원자 응답 DTO")
14+
public class ApplicantResponseDto {
15+
16+
@Schema(description = "id", example = "1")
17+
private Long id;
18+
19+
@Schema(description = "학번", example = "20210000")
20+
private String studentNo;
21+
22+
@Schema(description = "연락처", example = "010-1234-5678")
23+
private String contact;
24+
25+
@Schema(description = "이메일", example = "[email protected]")
26+
private String email;
27+
28+
@Schema(description = "학년", example = "3")
29+
private int grade;
30+
31+
@Schema(description = "지원 동기", example = "부원 지원 동기")
32+
private String reasonForApply;
33+
34+
@Schema(description = "희망 활동", example = "스터디")
35+
private String activityWish;
36+
37+
@Schema(description = "상태", example = "PENDING")
38+
private ApplicantStatus status;
39+
40+
@Schema(description = "생성일", example = "2025-02-10 22:42:21.871801")
41+
private LocalDateTime createdAt;
42+
43+
}

0 commit comments

Comments
 (0)