Skip to content

Commit

Permalink
[Merge] 2024-06-08 버전 적용 (#221)
Browse files Browse the repository at this point in the history
* [Refactor] dto에 isbn추가 (#220)

---------

Signed-off-by: 이성훈 <[email protected]>
Signed-off-by: simjaeyoun <[email protected]>
Co-authored-by: simjaeyoun <[email protected]>
  • Loading branch information
seonghooni and Simy2 authored Jun 8, 2024
1 parent 39ef1a0 commit 31ab171
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class PrescriptionBoardPageDto {
private String publishingHouse; // 출판사명
private String publishYear; // 발행년도
private String imageUrl; // 이미지 url
private String isbn;

@Builder
public PrescriptionBoardPageDto(Prescription prescription){
Expand All @@ -32,5 +33,6 @@ public PrescriptionBoardPageDto(Prescription prescription){
this.author = prescription.getBook().getAuthor();
this.publishYear = prescription.getBook().getPublishYear();
this.imageUrl = prescription.getBook().getImageUrl();
this.isbn = prescription.getBook().getIsbn();
}
}

0 comments on commit 31ab171

Please sign in to comment.