-
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 #51 from VOM-Project/feature/touchpoint
fix: TouchpointDto fromMemberId -> fromMemberNickname 변경
- Loading branch information
Showing
4 changed files
with
34 additions
and
56 deletions.
There are no files selected for viewing
37 changes: 5 additions & 32 deletions
37
src/main/java/vom/spring/domain/touchpoint/TouchpointDto.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,46 +1,19 @@ | ||
package vom.spring.domain.touchpoint; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import vom.spring.domain.album.Album; | ||
import vom.spring.domain.album.AlbumDto; | ||
import vom.spring.domain.member.domain.Member; | ||
import lombok.Setter; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
@Getter @Setter | ||
public class TouchpointDto { | ||
private Long fromMemberId; | ||
private String fromMemberNickname; | ||
private LocalDateTime createdAt; | ||
private String fromMemberProfileImgUrl; | ||
|
||
public TouchpointDto(Long fromMemberId, LocalDateTime createdAt, String fromMemberProfileImgUrl) { | ||
this.fromMemberId = fromMemberId; | ||
public TouchpointDto(String fromMemberNickname, LocalDateTime createdAt, String fromMemberProfileImgUrl) { | ||
this.fromMemberNickname = fromMemberNickname; | ||
this.createdAt = createdAt; | ||
this.fromMemberProfileImgUrl = fromMemberProfileImgUrl; | ||
} | ||
|
||
public Long getFromMemberId() { | ||
return fromMemberId; | ||
} | ||
|
||
public void setFromMemberId(Long fromMemberId) { | ||
this.fromMemberId = fromMemberId; | ||
} | ||
|
||
public LocalDateTime getCreatedAt() { | ||
return createdAt; | ||
} | ||
|
||
public void setCreatedAt(LocalDateTime createdAt) { | ||
this.createdAt = createdAt; | ||
} | ||
|
||
public String getFromMemberProfileImgUrl() { | ||
return fromMemberProfileImgUrl; | ||
} | ||
|
||
public void setFromMemberProfileImgUrl(String fromMemberProfileUrl) { | ||
this.fromMemberProfileImgUrl = fromMemberProfileUrl; | ||
} | ||
} |
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