-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from study-hub-inu/refactor/SH-298-apply
Refactor/sh 298 apply
- Loading branch information
Showing
4 changed files
with
26 additions
and
23 deletions.
There are no files selected for viewing
18 changes: 10 additions & 8 deletions
18
src/main/java/kr/co/studyhubinu/studyhubserver/apply/dto/data/ApplyUserData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
package kr.co.studyhubinu.studyhubserver.apply.dto.data; | ||
|
||
import kr.co.studyhubinu.studyhubserver.apply.enums.Inspection; | ||
import kr.co.studyhubinu.studyhubserver.user.enums.MajorType; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
import java.time.LocalDate; | ||
import java.time.LocalDateTime; | ||
|
||
@Getter | ||
public class ApplyUserData { | ||
|
||
private Long id; | ||
private String nickname; | ||
private MajorType major; | ||
private String imageUrl; | ||
private String introduce; | ||
private LocalDateTime createdDate; | ||
private final Long id; | ||
private final String nickname; | ||
private final MajorType major; | ||
private final String imageUrl; | ||
private final String introduce; | ||
private final LocalDateTime createdDate; | ||
private final Inspection inspection; | ||
|
||
@Builder | ||
public ApplyUserData(Long id, String nickname, MajorType major, String imageUrl, String introduce, LocalDateTime createdDate) { | ||
public ApplyUserData(Long id, String nickname, MajorType major, String imageUrl, String introduce, LocalDateTime createdDate, Inspection inspection) { | ||
this.id = id; | ||
this.nickname = nickname; | ||
this.major = major; | ||
this.imageUrl = imageUrl; | ||
this.introduce = introduce; | ||
this.createdDate = createdDate; | ||
this.inspection = inspection; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters