Skip to content

Commit

Permalink
fix: 지원자 목록 조회 로직 수정
Browse files Browse the repository at this point in the history
U-Geon committed Aug 6, 2024
1 parent 1e07c16 commit 2e76b4c
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@

@Getter @Setter
public class RecruitsResponseDTO {
private Long recruitId;
private String username;
private String studentId;
private String phoneNum;
@@ -20,6 +21,7 @@ public class RecruitsResponseDTO {

public RecruitsResponseDTO(Recruit recruit) {
Member member = recruit.getMember();
this.recruitId = recruit.getId();
this.username = member.getUsername();
this.studentId = member.getStudentId();
this.phoneNum = recruit.getPhoneNum();
Original file line number Diff line number Diff line change
@@ -19,6 +19,7 @@ public class Recruit {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "recruit_id")
private Long id;

@Column(nullable = false)

0 comments on commit 2e76b4c

Please sign in to comment.