Skip to content

Commit

Permalink
#18 [Refactor] 이미지 String으로 출력하도록 통일
Browse files Browse the repository at this point in the history
  • Loading branch information
JSoi committed Jul 27, 2022
1 parent 5e156d3 commit 5c7725c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.mpnp.baechelin.store.dto;

import com.mpnp.baechelin.store.domain.Store;
import com.mpnp.baechelin.store.domain.StoreImage;
import lombok.Getter;
import lombok.NoArgsConstructor;
Expand All @@ -8,9 +9,6 @@
@NoArgsConstructor
public class StoreImgResponseDto {
private String storeImageUrl;
public StoreImgResponseDto(StoreImage storeImage){
this.storeImageUrl = storeImage.getStoreImageUrl();
}
public StoreImgResponseDto(String storeImageUrl) {
this.storeImageUrl = storeImageUrl;
}
Expand Down

0 comments on commit 5c7725c

Please sign in to comment.