-
Notifications
You must be signed in to change notification settings - Fork 5
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 #110 from HaegyeongKim01/week11-haegyeong
refactor: 명함 수정 부분 리팩토링
- Loading branch information
Showing
10 changed files
with
370 additions
and
93 deletions.
There are no files selected for viewing
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
53 changes: 53 additions & 0 deletions
53
src/main/java/com/devcard/devcard/card/dto/CardUpdateDto.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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
package com.devcard.devcard.card.dto; | ||
|
||
public class CardUpdateDto { | ||
|
||
private final String company; | ||
private final String position; | ||
private final String phone; | ||
private final String bio; | ||
private final String email; | ||
private final String cardName; | ||
private final String profileImg; | ||
private final String linkedin; | ||
private final String notion; | ||
private final String certification; | ||
private final String extra; | ||
private final boolean techStack; | ||
private final boolean repository; | ||
private final boolean contributions; | ||
|
||
public CardUpdateDto(String company, String position, String phone, String bio, String email, String cardName, String profileImg, | ||
String linkedin, String notion, String certification, String extra, | ||
boolean techStack, boolean repository, boolean contributions) { | ||
this.company = company; | ||
this.position = position; | ||
this.phone = phone; | ||
this.bio = bio; | ||
this.email = email; | ||
this.cardName = cardName; | ||
this.profileImg = profileImg; | ||
this.linkedin = linkedin; | ||
this.notion = notion; | ||
this.certification = certification; | ||
this.extra = extra; | ||
this.techStack = techStack; | ||
this.repository = repository; | ||
this.contributions = contributions; | ||
} | ||
|
||
public String getCompany() { return company; } | ||
public String getPosition() { return position; } | ||
public String getPhone() { return phone; } | ||
public String getBio() { return bio; } | ||
public String getEmail() { return email; } | ||
public String getCardName() { return cardName; } | ||
public String getProfileImg() { return profileImg; } | ||
public String getLinkedin() { return linkedin; } | ||
public String getNotion() { return notion; } | ||
public String getCertification() { return certification; } | ||
public String getExtra() { return extra; } | ||
public boolean isTechStack() { return techStack; } | ||
public boolean isRepository() { return repository; } | ||
public boolean isContributions() { return contributions; } | ||
} |
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
Oops, something went wrong.